Re: Newbie question - how to use Web Service function in Access
- From: Dave <dgmoore@xxxxxxxxx>
- Date: 30 May 2007 04:49:05 -0700
On May 30, 3:57 am, "Andrew Brook" <yko...@xxxxxxxxxxx> wrote:
Hi Dave,
Have the developers given you a WSDL file? This file would contain all the
information you would need to access the webservice. As well as this, do you
intend to use VBA to transfer the data?
I'd just write a VB.NET application to open your access database, and call
the webservice. If you have the location of the WSDL file then you can
simply 'add a web reference' from inside VS and point it at the file. A
class will then be generated for you that will hide some of the complexity.
hope this helps,
Andrew
"Dave" <dgmo...@xxxxxxxxx> wrote in message
news:1180442852.323508.301280@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I am a long-time VBA/Access developer but a newcomer to web services.
I have data in an Access table that I need to write to a SQL Server
table via web services. The web services developers have provided me 3
functions to do this - Initialize, which retrieves an instance ID,
Import, which is called for each row of data to be transferred, and
Finalize, which runs after all records have been transferred.
The developers are not VB guys and have not able to tell me how to
invoke these functions in my code, and my examination of the functions
leaves me clueless as to how to use them - obviously they wrap my data
in xml tags and send it to SQL Server, but I have no idea how to pass
the data to them.
I find reams of info online about creating web services, etc., but
have found nothing to help me use a service that already exists.
Any suggestions would be appreciated.
Thanks
Dave
Andrew,
I need to invoke the data transfer from within the Access application.
When the user finishes processing records within the application, he/
she needs to be able to click a button that launches code to transfer
the data from the Access table to SQL Server via the web service
functions that have been provided.
Thanks
Dave
.
- Follow-Ups:
- References:
- Newbie question - how to use Web Service function in Access
- From: Dave
- Re: Newbie question - how to use Web Service function in Access
- From: Andrew Brook
- Newbie question - how to use Web Service function in Access
- Prev by Date: email hash
- Next by Date: Re: Newbie question - how to use Web Service function in Access
- Previous by thread: Re: Newbie question - how to use Web Service function in Access
- Next by thread: Re: Newbie question - how to use Web Service function in Access
- Index(es):