RawTcpTransport CoClass


This is a simple TCP transport, that works with the SOAP::Lite TcpServer option. This is a much simpler transport that the HTTP transport.


Supported Interfaces

Name Description
ISOAPTransport  [default] This is the standard interface all transport objects should implement
ISOAPTransportTimeout   Indicates that the transport supports Timeouts, and allows you to alter the timeout value.


How to Instantiate

Create this transport with CreateObject("pocketSOAP.RawTcpTransport")


Sample Code

set e = CreateObject("pocketSOAP.Envelope.2")
e.setMethod "test", "http://www.soaplite.com/ClearingHouse"

set t = CreateObject("pocketSOAP.RawTCPTransport")
t.timeout = 5000
t.send "rawtcp://some.server.com:8002", e.serialize
e.parse t

wscript.echo e.parameters.item(0).value


See Also

The PocketSOAP Library | 




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