Re: Newbie question - how to use Web Service function in Access
- From: "Andrew Brook" <ykoorb@xxxxxxxxxxx>
- Date: Wed, 30 May 2007 15:52:51 +0100
I guess it would be much easier if the webservice in question supports HTTP
POST requests rather than using SOAP. I've not looked into it, but i'm sure
VBA must have some functions to help with HTTP requests and responses.
Andrew
"Scott M." <s-mar@xxxxxxxxxxxxx> wrote in message
news:OfW2MNsoHHA.716@xxxxxxxxxxxxxxxxxxxxxxx
Your going to have a harder time accessing the service from within access.
You'll have to make the SOAP Requests and process the SOAP Responses
manually. Access is not a .NET application, so none of the .NET Framework
stuff will help you.
"Dave" <dgmoore@xxxxxxxxx> wrote in message
news:1180525745.624040.73240@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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
- Re: Newbie question - how to use Web Service function in Access
- From: Dave
- Re: Newbie question - how to use Web Service function in Access
- From: Scott M.
- Newbie question - how to use Web Service function in Access
- Prev by Date: Re: Newbie question - how to use Web Service function in Access
- 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):
Relevant Pages
|