Hi Dave
Yes still about and still playing with Web Services. Bad Steve was helpful ++ when I started this. I ended up with ASP.net c# and VFP com in the end but that was a web service talking to a web service. The first thing that comes to mind is you do not have soap3 installed. That was disowned by MickySoft back 2005. Download. com has it
http://download.cnet.com/SOAP-Toolkit-3-0-Redistributable/3000-2070_4-10733017.html
That would give the result you see.
I was not complimentary about VFP and web because it could not handle complex WSDL's hence I required asp.net to act as a front end.
Al

-----Original Message----- From: Dave Crozier
Sent: Thursday, May 16, 2013 10:28 AM
To: [email protected]
Subject: Damned Web Services....

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




[excessive quoting removed by server]

_______________________________________________
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/DF2C2ED9F2864E2783CA1AEC5D681B9B@GSLACER
** 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.

Reply via email to