Guys,
I've just been asked by someone to connect to their webservices and consume
some info. I have tried all the std demos that seem to be available after
trawling through the interweb but can't even get a start on how to understand
the damned thing along with Soap etc...
I know Allen (if he is around) has done lots of work with web services and his
feedback has not been complimentary to the technology at times so has anyone
got a very simple bit of code for a web service that actually works to get me
started. I did have a VFP examplel onto the Daily Dilbert that I downloaded
some time ago but that is dead now for the code that I have and something like
that would be really helpful.
On most of the examples I get as far as:
loWS =
NEWOBJECT("WSHandler",IIF(VERSION(2)=0,"",HOME()+"FFC\")+"_ws3client.vcx")
This does creat an loWS object but when I create the actual client.. eg (for
one downloaded example that doesn't work):
loZipWS =
loWS.SetupClient("http://webservices.eraserver.net/zipcoderesolver/zipcoderesolver.asmx?WSDL",
"ZipCodeResolver", "ZipCodeResolverSoap")
loZipWS comes back as ""
I just don't know where it is hanging up or going wrong or even where to look
... eg do I need anything else SOAP wise on my system.
VFP 9 SP2
Dave
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.