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