<?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="ConfirmShipRequestToOEM.bpel">
    <partnerLinks>
        <partnerLink name="bpelj" partnerLinkType="bpel:bpelj" />
        <partnerLink name="TransactionUtil" partnerLinkType="bean:TransactionUtil" />
        <partnerLink name="EventInfoUtil" partnerLinkType="bean:EventInfoUtil" />
        <partnerLink name="MaterialReceiveRequestDetailServiceUtil" partnerLinkType="bean:MaterialReceiveRequestDetailServiceUtil" />
        <partnerLink name="MaterialReceiveRequestDetailServiceImpl" partnerLinkType="bean:MaterialReceiveRequestDetailServiceImpl" />
        <partnerLink name="ESBService" partnerLinkType="bean:ESBService" />
    </partnerLinks>
    <variables>
        <variable name="ConfirmShipRequestToOEM" messageType="org.jdom.Document"></variable>
        <variable name="DetailList" messageType="java.util.List"></variable>
        <variable name="eventComment" messageType="java.lang.String" expression="getXmlData('ConfirmShipRequestToOEM', '//Message/Header/EVENTCOMMENT')" />
        <variable name="eventInfo" messageType="com.cim.idm.framework.data.EventInfo"></variable>
        <variable name="eventUser" messageType="java.lang.String" expression="getXmlData('ConfirmShipRequestToOEM', '//Message/Header/EVENTUSER')" />
        <variable name="Language" messageType="java.lang.String"></variable>
        <variable name="messagename" messageType="java.lang.String" expression="getXmlData('ConfirmShipRequestToOEM', '//message/header/messagename')" />
        <variable name="OICSender" messageType="java.lang.String"></variable>
        <variable name="ReceiveRequestDetailName" messageType="java.lang.String" expression="getXmlData('ConfirmShipRequestToOEM', '//Message/Body/RECEIVEREQUESTDETAILSTATE')" />
        <variable name="ReceiveRequestDtetailState" messageType="java.lang.String" expression="getXmlData('ConfirmShipRequestToOEM', '//Message/Body/RECEIVEREQUESTDETAILSTATE')" />
        <variable name="ReceiveRequestName" messageType="java.lang.String" expression="getXmlData('ConfirmShipRequestToOEM', '//Message/Body/RECEIVEREQUESTNAME')" />
        <variable name="replysubjectname" messageType="java.lang.String" expression="getXmlData('ConfirmShipRequestToOEM', '//Message/Header/ORIGINALSOURCESUBJECTNAME')" />
        <variable name="Reserved" messageType="java.lang.String"></variable>
        <variable name="returnElement" messageType="org.jdom.Element"></variable>
        <variable name="shipRequestName" messageType="java.lang.String" expression="getXmlData('ConfirmShipRequestToOEM', '//Message/Body/RECEIVEREQUESTNAME')" />
        <variable name="siteName" messageType="java.lang.String" expression="getXmlData('ConfirmShipRequestToOEM', '//Message/Body/SITENAME')" />
    </variables>
    <sequence>
        <receive name="ComfirmShipRequestToOEM" bounds="70,30,149,62">
            <input variable="ConfirmShipRequestToOEM" type="org.jdom.Document" />
        </receive>
        <invoke name="TransactionUtil beginTransaction" type="invokebean" description="public void beginTransaction()" bounds="74,122,141,105" partnerLink="TransactionUtil" partnerLinkType="TransactionUtil" operation="beginTransaction" operationDesc="public void beginTransaction()">
            <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="74,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 variable="messagename" 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="MaterialReceiveRequestDetailServiceUtil getReceiveRequestDetail" type="invokebean" description="public java.util.List getReceiveRequestDetail(java.lang.String invoiceNo)" bounds="74,392,141,105" partnerLink="MaterialReceiveRequestDetailServiceUtil" partnerLinkType="MaterialReceiveRequestDetailServiceUtil" operation="getReceiveRequestDetail" operationDesc="public java.util.List getReceiveRequestDetail(java.lang.String invoiceNo)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="ReceiveRequestName" type="java.lang.String" />
            <output variable="DetailList" />
        </invoke>
        <invoke name="MaterialReceiveRequestDetailServiceImpl Confirm" type="invokebean" description="public void Confirm(com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String siteName, java.util.List DetailList, java.lang.String receiveRequestName, java.lang.String receiveRequestDtetailState)" bounds="74,527,141,105" partnerLink="MaterialReceiveRequestDetailServiceImpl" partnerLinkType="MaterialReceiveRequestDetailServiceImpl" operation="Confirm" operationDesc="public void Confirm(com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String siteName, java.util.List DetailList, java.lang.String receiveRequestName, java.lang.String receiveRequestDtetailState)" 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="DetailList" type="java.util.List" />
            <input variable="ReceiveRequestName" type="java.lang.String" />
            <input constant="Confirmed" type="java.lang.String" />
        </invoke>
        <invoke name="ESBService sendBySender" type="invokebean" description="public void sendBySender(java.lang.String replySubject, org.jdom.Document doc, org.jdom.Element element, java.lang.String senderName)" bounds="74,662,141,105" partnerLink="ESBService" partnerLinkType="ESBService" operation="sendBySender" operationDesc="public void sendBySender(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="ConfirmShipRequestToOEM" type="org.jdom.Document" />
            <input variable="returnElement" type="org.jdom.Element" />
            <input constant="OICSender" type="java.lang.String" />
        </invoke>
        <invoke name="TransactionUtil commitTransaction" type="invokebean" description="public void commitTransaction()" bounds="74,797,141,105" partnerLink="TransactionUtil" partnerLinkType="TransactionUtil" operation="commitTransaction" operationDesc="public void commitTransaction()">
            <source idx="0" terminal="5,A" />
        </invoke>
    </sequence>
</process>

