Workflow Sample

The following sample shows the BizSend activity configured for sending outbound messages using the JMS communication type with payload packaging scheme set to STANDARD_INTEGRATION (ebXML). These parameters tell the activity to package the payload into an ebXML envelope (as described in this document) and send it over JMS. The name of the JMS queue is already configured.

<Activity Name="SendToSA2">
                        <Action>SendProtocolMessage</Action>
                        <Description>Send business document to SA2</Description>
                        <Execution>ASYNCHR</Execution>
                        <Parameter direction="in" type="string" eval="constant" name="eventState">SENDCATALOG</Parameter>
                        <Parameter direction="in" name="InDocument" type="document" eval="variable">syncDoc</Parameter>
                        <Parameter direction="in" name="InDocument2" type="document" eval="variable">inDoc</Parameter>
                        <Parameter direction="in" name="SenderCredential" source="/Message/Header/MessageHeader[@origin='Sender']/Credential[@domain='GLN']/Identity/text()" eval="xpath" type="string">messageDoc</Parameter>
                        <Parameter direction="in" name="ReceiverCredential" source="/Message/Header/MessageHeader[@origin='Receiver']/Credential[@domain='GLN']/Identity/text()" eval="xpath" type="string">messageDoc</Parameter>
                        <Parameter direction="in" name="ReceiverOrganizationName" eval="xpath" type="string" source="/Message/Header/MessageHeader[@origin='Receiver']/Organization/PartyID/PartyName/text()">messageDoc</Parameter>
                        <Parameter direction="in" name="BizProtocol" eval="constant" type="string">JMS</Parameter>
                        <Parameter direction="in" name="MessageID1" source="/Message/Body/Document/BusinessDocument/CatalogAction/CatalogActionHeader/PackageData/@messageID" type="string" eval="xpath">messageDoc</Parameter>
                        <Parameter direction="in" eval="constant" type="string" name="ExpiryType">RELATIVE</Parameter>
                        <Parameter direction="in" eval="constant" type="string" name="ExpiryDate">0:6:0:0</Parameter>
                        <Parameter direction="out" name="OutDocument" eval="variable" type="document">SA2Response</Parameter>
            </Activity>