Adapter for SAP 10.1 | webMethods Adapter for SAP Documentation | webMethods Adapter for SAP Installation and User’s Guide Documentation | Routing Messages Through Adapter for SAP | Routing Arbitrary XML Documents Through the > Routing/Mapping
 
Routing Arbitrary XML Documents Through the > Routing/Mapping
 
Configuring the Inbound Process Mechanism of the XML Transport
It is possible to use XML Inbound Process to forward arbitrary XML documents to the routing listener by using the Inbound Process mechanism of the XML transport.
For this purpose you can configure a so called inbound routing info service for your XML transport. This service should implement the specification pub.sap.transport.XML:xmlRoutingInfo, using the following parameters:
Input Parameters
This key
Must specify...
document
This field contains the XML document as it would look like after having been processed by pub.xml:xmlNodeToDocument. Your service should extract the routing data from your specific documents.
node
Alternatively, you can provide your document as a node as used in the pub.xml:xmlNodeToDocument service as an input field.
Return Values
This key
Must specify...
sender
Sender used for finding the matching routing notification.
receiver
Receiver used for finding the matching routing notification.
msgType
Message type used for finding the matching routing notification.
$tid (optional)
Transaction ID found in the document, if client wants to execute a transaction once and only once.
$action (optional)
One of the following transaction codes:
*1 - Execute (default)
*4 - Confirm