Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Extract Data from Object
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Titre:
Extract Data from Object
Divers
Thread ID:
01143208
Message ID:
01143208
Vues:
60
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform