Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameters - how do I pass them to XML ?????
Message
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Miscellaneous
Thread ID:
00884646
Message ID:
00884702
Views:
15
BTW -- seeing as you're a Kiwi, I thought you might enjoy running this example (which doesn't have params, but humor me please <g>).

It is one of the first SOAP examples I tried and got to work -- several years ago. I was chuffed when I pinged tonight and realized that the server is still up.
LOCAL o, x
 o = CREATEOBJECT("microsoft.xmlhttp")
 o.open("post", "http://www.nickhodge.com/nhodge/finnwords/finnwordssoapengine.php" ,.f.)

* see: http://www.nickhodge.com/nhodge/finnwords/finnwords.wsdl 

  o.setRequestHeader("Content-Type", "text/xml")
  o.setRequestHeader("SOAPAction", "")
  SET TEXT TO MEMVAR x  NOSHOW
  SET TEXTMERGE ON
  TEXT
<?xml version="1.0"?>
<SOAP:Envelope xmlns:SOAP=
"http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body 
xmlns:SOAP-ENV= 
"http://schemas.xmlsoap.org/soap/envelope/">
<m:getRandomNeilFinnLyric xmlns:m="finnwordsService">
</m:getRandomNeilFinnLyric>
</SOAP-ENV:Body>
</SOAP:Envelope>
  ENDTEXT		
  SET TEXT OFF
  SET TEXT TO
  o.send(x)
  clear
  ?o.responsetext
  ? o.statusText
  ? o.status
Cheer up, this stuff can be a lot of fun,

>L<
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform