WS-Routing defines a SOAP Header that contains information about a message path, providing routing information for sending and receiving SOAP messages involving SOAP intermediaries. Hailstorm (aka .NET My Services) uses WS-Routing, so expect to see lots of it in the future.
This VB sample contains an object model based on WS-Routing and a set of [de]serializers to plug into PocketSOAP, this makes it easy to work with WS-Routing based services from PocketSOAP.
Download the source and extract it to a directory, you should find the following bits
- ws-routing.idl & ws-routing.tlb : The interface definitions for the WS-Routing object model [register this with regtlib ws-routing.tlb]
- path.cls, via.cls & viaCol.cls : This implementation of the object model
- psSerializer.cls, wsPathDeserializer.cls, wsViaDeserializer.cls, wsViaColDeserializer.cls : The Serializer and Deserializer classes
- wsRouting.vbp : A VB ActiveX DLL project for the above classes
- wsRouting.dll : A pre-built version of the above project [register this with regsvr32 wsRouting.dll]
- fWsrClient.frm, wsrClient.vbp : A simple client Application that uses the WS-Routing objects
- wsrClient.exe : A prebuilt copy of the client app