PocketSOAP TransportPak Beta 1

This is the first beta release of the TransportPak, a set of additional transports for PocketSOAP. Currently only a Win32 Build is available.

SOAP over Jabber

This acts as a Jabber client, and sends/receives SOAP messages to SOAP servers connected to the same Jabber network. This follows the proposal made by DJ Adams for transporting SOAP over Jabber on the RPC-JIG mailing list. This works much like the standard HTTP transport, except that it requires you to login first, e.g.
set e = CreateObject("pocketSOAP.Envelope.2")
e.setMethod "echoString", "http://soapinterop.org/"
e.Parameters.Create "inputString", "pocketSOAP"

set t = CreateObject("pocketSOAP.JabberTransport")
t.Login "jabber.org", 5222, "myUserAccount", "myPassword"
t.SOAPAction = "http://soapinter.org/"
t.Send "4s4c@jabber.org/SoapServer" , e.serialize

e.parse t
wscript.echo "return value = " & e.parameters.item(0).Value
The parameters to Login are ServerName, Port #, UserName, Password. There is a 4s4c based SOAP endpoint available at 4s4c@jabber.org/SoapServer for testing. If you don't have an existing jabber account at jabber.org, then you'll need to install a Jabber IM client to create the account.

SOAP over raw TCP

This is a simple TCP client that will work against the SOAP::Lite TcpServer. Paul describes the basics of this transport in this post to the soapbuilders mailing list.
set e = CreateObject("pocketSOAP.Envelope.2")
e.setMethod "test", "http://www.soaplite.com/ClearingHouse"

set t = CreateObject("pocketSOAP.RawTCPTransport")
t.send "rawtcp://someSOAPLiteServer:8002", e.serialize

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

Installation

Download the transport_pak_beta1.zip file and extract the transports.dll into the same directory as your PocketSOAP 1.1 install [typically c:\program files\simonfell\pocketsoap1.1\]. Register the DLL by running regsvr32 transports.dll