<?xml version="1.0" encoding="euc-kr"?>
<process xmlns:bean="http://bean.boe.com/" xmlns:bpel="http://bpel.boe.com/" targetNamespace="http://bpel.boe.com/bpelj/" name="PDABoxSplit.bpel">
    <partnerLinks>
        <partnerLink name="bpelj" partnerLinkType="bpel:bpelj" />
        <partnerLink name="TransactionUtil" partnerLinkType="bean:TransactionUtil" />
        <partnerLink name="EventInfoUtil" partnerLinkType="bean:EventInfoUtil" />
        <partnerLink name="MaterialPackingServiceImpl" partnerLinkType="bean:MaterialPackingServiceImpl" />
        <partnerLink name="ESBService" partnerLinkType="bean:ESBService" />
    </partnerLinks>
    <variables>
        <variable name="eventComment" messageType="java.lang.String" expression="getXmlData('message', '//Message/Header/EVENTCOMMENT')" />
        <variable name="eventInfo" messageType="com.cim.idm.framework.data.EventInfo"></variable>
        <variable name="eventUser" messageType="java.lang.String" expression="getXmlData('message', '//Message/Header/EVENTUSER')" />
        <variable name="fmaterialPackingName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/FDESTMATERIALPACKINGNAMENAME')" />
        <variable name="fmaterialQuantity" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/FMATERIALQUANTITY')" />
        <variable name="materialPackingElement" messageType="org.jdom.Element"></variable>
        <variable name="materialPackingList" messageType="java.util.List"></variable>
        <variable name="message" messageType="org.jdom.Document"></variable>
        <variable name="originalPackingName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/MATERIALPACKINGNAME')" />
        <variable name="replySubjectName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Header/ORIGINALSOURCESUBJECTNAME')" />
        <variable name="returnElement" messageType="org.jdom.Element"></variable>
        <variable name="siteName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/SITENAME')" />
        <variable name="smaterialPackingName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/SDESTMATERIALPACKINGNAMENAME')" />
        <variable name="smaterialQuantity" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/SMATERIALQUANTITY')" />
    </variables>
    <sequence>
        <receive name="PDABoxSplit" bounds="61,30,149,62">
            <input variable="message" type="org.jdom.Document" />
        </receive>
        <invoke name="TransactionUtil beginTransaction" type="invokebean" description="public void beginTransaction()" bounds="65,122,141,105" partnerLink="TransactionUtil" partnerLinkType="TransactionUtil" operation="beginTransaction" operationDesc="public void beginTransaction()" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
        </invoke>
        <invoke name="EventInfoUtil makeEventInfo" type="invokebean" description="public static com.cim.idm.framework.data.EventInfo makeEventInfo(java.lang.String eventName, java.lang.String eventUser, java.lang.String eventComment, java.lang.String reasonCodeType, java.lang.String reasonCode)" bounds="65,257,141,105" partnerLink="EventInfoUtil" partnerLinkType="EventInfoUtil" operation="makeEventInfo" operationDesc="public static com.cim.idm.framework.data.EventInfo makeEventInfo(java.lang.String eventName, java.lang.String eventUser, java.lang.String eventComment, java.lang.String reasonCodeType, java.lang.String reasonCode)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input constant="PDABoxSplit" type="java.lang.String" />
            <input variable="eventUser" type="java.lang.String" />
            <input variable="eventComment" type="java.lang.String" />
            <input constant="" type="java.lang.String" />
            <input constant="" type="java.lang.String" />
            <output variable="eventInfo" />
        </invoke>
        <invoke name="MaterialPackingServiceImpl PDABoxSplit" type="invokebean" description="public void PDABoxSplit(com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String siteName, java.lang.String origalmaterialPackingName, java.lang.String materialPackingName, java.lang.String materialquantity, java.lang.String ActionUser)" bounds="65,402,141,105" partnerLink="MaterialPackingServiceImpl" partnerLinkType="MaterialPackingServiceImpl" operation="PDABoxSplit" operationDesc="public void PDABoxSplit(com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String siteName, java.lang.String origalmaterialPackingName, java.lang.String materialPackingName, java.lang.String materialquantity, java.lang.String ActionUser)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
            <input variable="siteName" type="java.lang.String" />
            <input variable="originalPackingName" type="java.lang.String" />
            <input variable="fmaterialPackingName" type="java.lang.String" />
            <input variable="fmaterialQuantity" type="java.lang.String" />
            <input variable="eventUser" type="java.lang.String" />
        </invoke>
        <invoke name="MaterialPackingServiceImpl PDABoxSplit" type="invokebean" description="public void PDABoxSplit(com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String siteName, java.lang.String origalmaterialPackingName, java.lang.String materialPackingName, java.lang.String materialquantity, java.lang.String ActionUser)" bounds="65,546,141,105" partnerLink="MaterialPackingServiceImpl" partnerLinkType="MaterialPackingServiceImpl" operation="PDABoxSplit" operationDesc="public void PDABoxSplit(com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String siteName, java.lang.String origalmaterialPackingName, java.lang.String materialPackingName, java.lang.String materialquantity, java.lang.String ActionUser)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
            <input variable="siteName" type="java.lang.String" />
            <input variable="originalPackingName" type="java.lang.String" />
            <input variable="smaterialPackingName" type="java.lang.String" />
            <input variable="smaterialQuantity" type="java.lang.String" />
            <input variable="eventUser" type="java.lang.String" />
        </invoke>
        <invoke name="MaterialPackingServiceImpl PDAOrigalBoxSplit" type="invokebean" description="public void PDAOrigalBoxSplit(com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String siteName, java.lang.String origalmaterialPackingName)" bounds="65,695,141,105" partnerLink="MaterialPackingServiceImpl" partnerLinkType="MaterialPackingServiceImpl" operation="PDAOrigalBoxSplit" operationDesc="public void PDAOrigalBoxSplit(com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String siteName, java.lang.String origalmaterialPackingName)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
            <input variable="siteName" type="java.lang.String" />
            <input variable="originalPackingName" type="java.lang.String" />
        </invoke>
        <invoke name="TransactionUtil commitTransaction" type="invokebean" description="public void commitTransaction()" bounds="54,830,162,103" partnerLink="TransactionUtil" partnerLinkType="TransactionUtil" operation="commitTransaction" operationDesc="public void commitTransaction()" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
        </invoke>
        <invoke name="ESBService sendReplyBySender" type="invokebean" description="public void sendReplyBySender(java.lang.String replySubject, org.jdom.Document doc, org.jdom.Element element, java.lang.String senderName)" bounds="65,963,141,105" partnerLink="ESBService" partnerLinkType="ESBService" operation="sendReplyBySender" operationDesc="public void sendReplyBySender(java.lang.String replySubject, org.jdom.Document doc, org.jdom.Element element, 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 variable="returnElement" type="org.jdom.Element" />
            <input constant="PDASender" type="java.lang.String" />
        </invoke>
    </sequence>
</process>

