Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get XML
Message
From
22/10/2003 04:33:35
 
 
To
21/10/2003 13:10:54
John Tomblin
Service Station Systems, Inc.
San Jose, California, United States
General information
Forum:
Visual FoxPro
Category:
Web Services
Title:
Miscellaneous
Thread ID:
00840733
Message ID:
00840936
Views:
18
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
Previous
Reply
Map
View

Click here to load this message in the networking platform