uuid(e2e0fb24-e58f-458f-84e0-6e09d2d51511)
progid(pocketSOAP.Envelope.2)
The Envelope object represents a SOAP envelope and is the major object you'll use in a pocketSOAP application. The Envelope object allows you build a SOAP envelope and populate the methodName and parameter information, serialize the resulting Envelope to XML, and to parse an XML Envelope back into its constituent parts. The Envelope object supports both SOAP 1.1 and SOAP 1.2. Using the CoEnvelope CLSID or the PocketSOAP.Envelope.2 or PocketSOAP.Envelope.11 ProgIds will create an envelope configured for SOAP 1.1. Using the CoEnvelope12 CLSID or PocketSOAP.Envelope.12 ProgId will create an envelope configured for SOAP 1.2.
Name | Description |
---|---|
ISOAPEnvelope [default] | The primary interface to the SOAP Envelope object |
ISOAPNamespaces | This interface allows access to the current Namespace definitions during [de]serialization |
ISOAPEnvelope2 | Exposes SOAP envelope version information |
set e = CreateObject("pocketSOAP.Envelope.2")
dim e set e = CreateObject("pocketSOAP.Envelope.2") e.setMethod "getQuote", "urn:xmethods-delayed-quotes" e.parameters.create "Symbol", "AMD" dim t set t = CreateObject("pocketSOAP.HTTPTransport.2") t.Send "http://services.xmethods.net/soap", e.serialize e.parse t wscript.echo "Quote for AMD = " & e.parameters.item(0).value
Copyright © Simon Fell, 2000-2004. All rights reserved.