Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Extract Data from Object
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Web Services
Title:
Extract Data from Object
Miscellaneous
Thread ID:
01143208
Message ID:
01143208
Views:
62
Howdy,

I'm trying to write a simple Web Services Client test program. The program below doesn't return XML text, it returns an object. How do I extract the longitude and latitude strings? Many thanks, Ellis.

*Web Service to obtain latitude, longitude from a zip code
LOCAL oWSC, lcXML

oWSC = CREATEOBJECT("MSSOAP.SoapClient")
oWSC.MSSoapInit("http://www.jasongaylord.com/webservices/zipcodes.asmx?wsdl", "ZipCodes", "ZipCodesSoap")

lcXML = oWSC.ZipCodeToLatitudeLogitude("02421")

XMLTOCURSOR(lcXML,"LatLongData",0)
BROWSE

RELEASE oWSC
Next
Reply
Map
View

Click here to load this message in the networking platform