RawTcpTransport CoClass

uuid(2612dd54-2419-4b72-97a7-998671467174)
progid(pocketSOAP.RawTCPTransport)

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

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