Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reading XML Message
Message
From
23/05/2008 09:42:32
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
23/05/2008 08:47:46
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01318749
Message ID:
01319200
Views:
22
>>If I have to write a parsing routine, then what is the point of the SOAP/XML?
>
>The intention is you don't need to parse this xml but get back an object or collection on the client side, whatever the return value is.
>
>If you create a web service with the Soap Toolkit this should work just fine. Consuming web services seems more often to fail than to work.
>
>I saw you also already tried wwSoap from West Wind, that would be the alternative recommendation to MSSoap.Soapclient30.
>
>What webservice do you try to use? Maybe someone has already solved that one.
>
>Bye, Olaf.

I was able to resolve it using the code below. Foxpro Debugger does not show all the levels of this object, and it was mostly by chance that I found references in some online documentation. How anyone gets through this stuff is amazing to me.
oXMLDoc = CREATEOBJECT('msxml.domdocument')
oXMLDoc.LOADXML(lcXML)
XMLBaseName = oXMLDoc.DocumentElement.Basename
XMLAck =  oXMLDoc.documentElement.getElementsByTagName('ack').item(0).nodeTypedValue
XMLError =  oXMLDoc.documentElement.getElementsByTagName('err').item(0).nodeTypedValue
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform