<?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="RMACreateProduct.bpel">
    <partnerLinks>
        <partnerLink name="bpelj" partnerLinkType="bpel:bpelj" />
        <partnerLink name="TransactionUtil" partnerLinkType="bean:TransactionUtil" />
        <partnerLink name="PackingGroupServiceImpl" partnerLinkType="bean:PackingGroupServiceImpl" />
        <partnerLink name="ESBService" partnerLinkType="bean:ESBService" />
    </partnerLinks>
    <variables>
        <variable name="headlList" messageType="org.jdom.Element"></variable>
        <variable name="message" messageType="org.jdom.Document"></variable>
        <variable name="OICSender" messageType="java.lang.String"></variable>
        <variable name="panelList" messageType="org.jdom.Element"></variable>
        <variable name="replySubjectName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Header/ORIGINALSOURCESUBJECTNAME')" />
        <variable name="RMACreateProduct" messageType="org.jdom.Document"></variable>
    </variables>
    <sequence>
        <receive name="RMACreateProduct" bounds="151,68,149,62">
            <input variable="message" type="org.jdom.Document" />
        </receive>
        <invoke name="TransactionUtil beginTransaction" type="invokebean" description="public void beginTransaction()" bounds="149,205,141,105" partnerLink="TransactionUtil" partnerLinkType="TransactionUtil" operation="beginTransaction" operationDesc="public void beginTransaction()" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
        </invoke>
        <expression name="expression" type="expression" bounds="151,352,141,65">
            <source idx="0" terminal="5,A" />
            <function value="setVariable('panelList', getElement('message','/Message/Body'))" />
            <function value="setVariable('headlList', getElement('message','/Message/Header'))" />
        </expression>
        <invoke name="PackingGroupServiceImpl RMACreateProduct" type="invokebean" description="public void RMACreateProduct(org.jdom.Element arg1, org.jdom.Element arg2)" bounds="150,477,141,105" partnerLink="PackingGroupServiceImpl" partnerLinkType="PackingGroupServiceImpl" operation="RMACreateProduct" operationDesc="public void RMACreateProduct(org.jdom.Element arg1, org.jdom.Element arg2)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="panelList" type="org.jdom.Element" />
            <input variable="headlList" type="org.jdom.Element" />
        </invoke>
        <invoke name="ESBService sendReplyBySender" type="invokebean" description="public void sendReplyBySender(java.lang.String replySubject, org.jdom.Document doc, java.lang.String senderName)" bounds="151,653,141,105" partnerLink="ESBService" partnerLinkType="ESBService" operation="sendReplyBySender" operationDesc="public void sendReplyBySender(java.lang.String replySubject, org.jdom.Document doc, java.lang.String senderName)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="replySubjectName" type="java.lang.String" />
            <input variable="message" type="org.jdom.Document" />
            <input constant="OICSender" type="java.lang.String" />
        </invoke>
        <invoke name="TransactionUtil commitTransaction" type="invokebean" description="public void commitTransaction()" bounds="158,808,141,105" partnerLink="TransactionUtil" partnerLinkType="TransactionUtil" operation="commitTransaction" operationDesc="public void commitTransaction()" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
        </invoke>
    </sequence>
</process>

