Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get XML
Message
De
22/10/2003 04:33:35
 
 
À
21/10/2003 13:10:54
John Tomblin
Service Station Systems, Inc.
San Jose, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Titre:
Divers
Thread ID:
00840733
Message ID:
00840936
Vues:
19
Hi,

>
oAdr= Createobject("mssoap.soapclient30")
oAdr.mssoapinit("http://webservices.eraserver.net/zipcoderesolver/zipcoderesolver.asmx?WSDL")
Result = pAdr.CorrectedAddressXml("9999", "680 Quinn Ave.", "San Jose", "CA")
This code returns "Result" which is an object, which seems to have no properties or methods.
I need an XML so that I can use XMLtoCursor(). What can I do?
>

What you're getting back is an XMLDocument so you should be able to parse out whatever you need (Cetin gave an example). You can try calling the method from IE to get a picture of the document structure.

Also you could, for example, use:
cFullZip = STREXTRACT(Result.context.xml,"<FullZIP>","</FullZIP>")
etc

HTH,
Viv
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform