54 lines
3.9 KiB
XML
54 lines
3.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<process xmlns:bean="http://bean.boe.com/" xmlns:bpel="http://bpel.boe.com/" targetNamespace="http://bpel.boe.com/bpelj/" name="InitialShelfDataRequest.bpel">
|
|
<partnerLinks>
|
|
<partnerLink name="bpelj" partnerLinkType="bpel:bpelj" />
|
|
<partnerLink name="XmlUtil" partnerLinkType="bean:XmlUtil" />
|
|
<partnerLink name="ESBService" partnerLinkType="bean:ESBService" />
|
|
</partnerLinks>
|
|
<variables>
|
|
<variable name="enumName" messageType="java.lang.String" expression="getXmlData('message','/Message/Body/ENUMNAME')" />
|
|
<variable name="InitialShelfDataRequest" messageType="org.jdom.Document"></variable>
|
|
<variable name="message" messageType="org.jdom.Document"></variable>
|
|
<variable name="WMSSender" messageType="java.lang.String"></variable>
|
|
</variables>
|
|
<sequence>
|
|
<receive name="InitialShelfDataRequest" bounds="206,30,146,75">
|
|
<input variable="message" type="org.jdom.Document" />
|
|
</receive>
|
|
<invoke name="XmlUtil clone" type="invokebean" description="public org.jdom.Document clone(org.jdom.Document doc)" bounds="202,135,155,102" partnerLink="XmlUtil" partnerLinkType="XmlUtil" operation="clone" operationDesc="public org.jdom.Document clone(org.jdom.Document doc)" ignoreThrow="false" fork="false">
|
|
<source idx="0" terminal="5,A" />
|
|
<input variable="message" type="org.jdom.Document" />
|
|
<output variable="InitialShelfDataRequest" />
|
|
</invoke>
|
|
<expression name="expression" type="expression" bounds="209,267,140,62">
|
|
<source idx="0" terminal="5,A" />
|
|
<function value="setXmlData('InitialShelfDataRequest','/Message/Header/MESSAGENAME','InitialShelfDataRequest')" />
|
|
<function value="removeElement('InitialShelfDataRequest','/Message/Body')" />
|
|
<function value="addChildNode('InitialShelfDataRequest','/Message',createNode('Body',''))" />
|
|
</expression>
|
|
<switch name="switch" bounds="263,359,33,33" type="switch">
|
|
<source idx="0" terminal="5,A" />
|
|
<switchstart name="switchstart" type="switchstart" bounds="224,438,110,49">
|
|
<source idx="0" terminal="5,A" />
|
|
</switchstart>
|
|
<case name="case" type="case" condition="getVariable('enumName') = 'FGWMS' " bounds="113,517,60,47">
|
|
<source idx="0" terminal="5,A" />
|
|
<invoke name="ESBService sendBySender" type="invokebean" description="public void sendBySender(org.jdom.Document doc, java.lang.String senderName)" bounds="39,594,209,102" partnerLink="ESBService" partnerLinkType="ESBService" operation="sendBySender" operationDesc="public void sendBySender(org.jdom.Document doc, java.lang.String senderName)" ignoreThrow="false" fork="false">
|
|
<source idx="0" terminal="5,A" />
|
|
<input variable="InitialShelfDataRequest" type="org.jdom.Document" />
|
|
<input constant="WMSSender" type="java.lang.String" />
|
|
</invoke>
|
|
</case>
|
|
<otherwise name="otherwise" type="otherwise" bounds="372,517,88,52">
|
|
<source idx="0" terminal="5,A" />
|
|
<invoke name="ESBService sendBySender" type="invokebean" description="public void sendBySender(org.jdom.Document doc, java.lang.String senderName)" bounds="312,599,209,102" partnerLink="ESBService" partnerLinkType="ESBService" operation="sendBySender" operationDesc="public void sendBySender(org.jdom.Document doc, java.lang.String senderName)" ignoreThrow="false" fork="false">
|
|
<source idx="0" terminal="5,A" />
|
|
<input variable="InitialShelfDataRequest" type="org.jdom.Document" />
|
|
<input constant="MODWMSSender" type="java.lang.String" />
|
|
</invoke>
|
|
</otherwise>
|
|
</switch>
|
|
</sequence>
|
|
</process>
|
|
|