<?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="PDAOutSourceAssign.bpel">
    <partnerLinks>
        <partnerLink name="bpelj" partnerLinkType="bpel:bpelj" />
        <partnerLink name="EventInfoUtil" partnerLinkType="bean:EventInfoUtil" />
        <partnerLink name="TransactionUtil" partnerLinkType="bean:TransactionUtil" />
        <partnerLink name="MaterialPackingServiceImpl" partnerLinkType="bean:MaterialPackingServiceImpl" />
        <partnerLink name="ESBService" partnerLinkType="bean:ESBService" />
    </partnerLinks>
    <variables>
        <variable name="actNO" messageType="java.lang.String" expression="getXmlData('PDAOutSourceAssign', '//Message/Body/RECEIVEACTNO')" />
        <variable name="boxid" messageType="java.lang.String" expression="getXmlData('PDAOutSourceAssign', '//Message/Body/MATERIALPACKINGNAME')" />
        <variable name="EVENTCOMMENT" messageType="java.lang.String" expression="getXmlData('PDAOutSourceAssign', '//Message/Header/EVENTCOMMENT')" />
        <variable name="eventInfo" messageType="com.cim.idm.framework.data.EventInfo"></variable>
        <variable name="eventUser" messageType="java.lang.String" expression="getXmlData('PDAOutSourceAssign', '//Message/Header/EVENTUSER')" />
        <variable name="invoice" messageType="java.lang.String" expression="getXmlData('PDAOutSourceAssign', '//Message/Body/RECEIVEREQUESTNAME')" />
        <variable name="PDAAssignPreShipRequestToBox" messageType="org.jdom.Document"></variable>
        <variable name="PDAOutSourceAssign" messageType="org.jdom.Document"></variable>
        <variable name="PDASender" messageType="java.lang.String"></variable>
        <variable name="PreAssignShipRequest" messageType="java.lang.String"></variable>
        <variable name="replySubjectName" messageType="java.lang.String" expression="getXmlData('PDAOutSourceAssign','//Message/Header/ORIGINALSOURCESUBJECTNAME')" />
        <variable name="returnElement" messageType="org.jdom.Element"></variable>
        <variable name="siteName" messageType="java.lang.String" expression="getXmlData('PDAOutSourceAssign', '//Message/Body/SITENAME')" />
    </variables>
    <sequence>
        <receive name="PDAOutSourceAssign" bounds="70,30,149,62">
            <input variable="PDAOutSourceAssign" type="org.jdom.Document" />
        </receive>
        <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="74,122,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="OutSourceAssign" 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="TransactionUtil beginTransaction" type="invokebean" description="public void beginTransaction()" bounds="73,257,143,90" partnerLink="TransactionUtil" partnerLinkType="TransactionUtil" operation="beginTransaction" operationDesc="public void beginTransaction()" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
        </invoke>
        <invoke name="MaterialPackingServiceImpl outSourceAssignShip" type="invokebean" description="public void outSourceAssignShip(java.lang.String invoice, java.lang.String boxid, java.lang.String siteName, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String actNO)" bounds="74,377,141,105" partnerLink="MaterialPackingServiceImpl" partnerLinkType="MaterialPackingServiceImpl" operation="outSourceAssignShip" operationDesc="public void outSourceAssignShip(java.lang.String invoice, java.lang.String boxid, java.lang.String siteName, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String actNO)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="invoice" type="java.lang.String" />
            <input variable="boxid" type="java.lang.String" />
            <input variable="siteName" type="java.lang.String" />
            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
            <input variable="actNO" type="java.lang.String" />
        </invoke>
        <invoke name="TransactionUtil commitTransaction" type="invokebean" description="public void commitTransaction()" bounds="73,512,143,90" 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(String replySubject, org.jdom.Document doc, org.jdom.Element element, String senderName)&#xD;&#xA;&#x9;&#x9;throws java.lang.Exception" bounds="-4,632,296,102" 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="PDAOutSourceAssign" type="org.jdom.Document" />
            <input variable="returnElement" type="org.jdom.Element" />
            <input constant="PDASender" type="java.lang.String" />
        </invoke>
    </sequence>
</process>

