HTTPTransport CoClass


The HTTPTransport object provides the HTTP transport for pocketSOAP, you use it in conjunction with the Envelope object to make SOAP calls over HTTP. It includes support for HTTP 1.1 persistent connections, compression, proxies, server authentication, proxy authentication, session cookies, redirects and SSL.


Supported Interfaces

Name Description
IHTTPTransportAdv  [default] This interface allows access to the advanced features of the pocketSOAP HTTP transport object
IHTTPTransport   This is the standard interface all HTTP based transport objects should implement [in addition to ISOAPTransport]
ISOAPTransport   This is the standard interface all transport objects should implement
ISOAPTransport2   This is a version of ISOAPTransport that supports a streaming interface for both send and receive
ISwATransport   Transport objects implement this interface to indicate that they can support payloads with Attachments (either DIME or SwA)
ISOAPTransportTimeout   Indicates that the transport supports Timeouts, and allows you to alter the timeout value.
IHTTPTransportAdv2   Set advanced configuration options for the HTTP Transport


How to Instantiate

set t = CreateObject("pocketSOAP.HTTPTransport.2")


Sample Code

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.SOAPAction = ""
t.SetProxy "", 8080
t.ProxyAuthentication "simonfell", "password"
t.Send "", e.serialize
e.parse t
wscript.echo "Quote for AMD = " & e.parameters.item(0).value


See Also

The PocketSOAP Library | 




Copyright © Simon Fell, 2000-2004. All rights reserved.