<?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="ReserveShipRequestToOEM.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="DetailList" messageType="java.util.List"></variable>
        <variable name="eventComment" messageType="java.lang.String" expression="getXmlData('ReserveShipRequestToOEM', '//Message/Header/EVENTCOMMENT')" />
        <variable name="eventInfo" messageType="com.cim.idm.framework.data.EventInfo"></variable>
        <variable name="eventUser" messageType="java.lang.String" expression="getXmlData('ReserveShipRequestToOEM', '//Message/Header/EVENTUSER')" />
        <variable name="Language" messageType="java.lang.String"></variable>
        <variable name="messagename" messageType="java.lang.String" expression="getXmlData('ReserveShipRequestToOEM', '//message/header/messagename')" />
        <variable name="OICSender" messageType="java.lang.String"></variable>
        <variable name="ReceiveRequestDetailName" messageType="java.lang.String" expression="getXmlData('ReserveShipRequestToOEM', '//Message/Body/RECEIVEREQUESTDETAILSTATE')" />
        <variable name="ReceiveRequestDetailState" messageType="java.lang.String" expression="getXmlData('ReserveShipRequestToOEM', '//Message/Body/RECEIVEREQUESTDETAILSTATE')" />
        <variable name="replysubjectname" messageType="java.lang.String" expression="getXmlData('ReserveShipRequestToOEM', '//Message/Header/ORIGINALSOURCESUBJECTNAME')" />
        <variable name="Reserved" messageType="java.lang.String"></variable>
        <variable name="ReserveRequestName" messageType="java.lang.String" expression="getXmlData('ReserveShipRequestToOEM', '//Message/Body/RECEIVEREQUESTNAME')" />
        <variable name="ReserveShipRequestToOEM" messageType="org.jdom.Document"></variable>
        <variable name="returnElement" messageType="org.jdom.Element"></variable>
        <variable name="shipRequestName" messageType="java.lang.String" expression="getXmlData('ReserveShipRequestToOEM', '//Message/Body/RECEIVEREQUESTNAME')" />
        <variable name="siteName" messageType="java.lang.String" expression="getXmlData('ReserveShipRequestToOEM', '//Message/Body/SITENAME')" />
    </variables>
    <sequence>
        <receive name="ReserveShipRequestToOEM" bounds="161,51,149,62">
            <input variable="ReserveShipRequestToOEM" type="org.jdom.Document" />
        </receive>
        <invoke name="TransactionUtil beginTransaction" type="invokebean" description="public void beginTransaction()" bounds="155,193,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="162,304,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="eventComment" type="java.lang.String" />
            <input variable="eventUser" 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="178,435,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="ReserveRequestName" type="java.lang.String" />
            <output variable="DetailList" />
        </invoke>
        <invoke name="MaterialReceiveRequestDetailServiceImpl Reserve" type="invokebean" description="public void Reserve(com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String siteName, java.util.List DetailList, java.lang.String receiveRequestName, java.lang.String receiveRequestDtetailState)" bounds="168,584,141,105" partnerLink="MaterialReceiveRequestDetailServiceImpl" partnerLinkType="MaterialReceiveRequestDetailServiceImpl" operation="Reserve" operationDesc="public void Reserve(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="ReserveRequestName" type="java.lang.String" />
            <input constant="Receiving" type="java.lang.String" />
        </invoke>
        <invoke name="ESBService sendBySender" type="invokebean" description="public void sendBySender(java.lang.String subject, org.jdom.Document doc, java.lang.String senderName)" bounds="152,733,141,105" partnerLink="ESBService" partnerLinkType="ESBService" operation="sendBySender" operationDesc="public void sendBySender(java.lang.String subject, org.jdom.Document doc, java.lang.String senderName)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="replysubjectname" />
            <input variable="ReserveShipRequestToOEM" />
            <input variable="returnElement" />
            <input constant="OICSender" type="java.lang.String" />
        </invoke>
        <invoke name="TransactionUtil commitTransaction" type="invokebean" description="public void commitTransaction()" bounds="149,897,141,105" partnerLink="TransactionUtil" partnerLinkType="TransactionUtil" operation="commitTransaction" operationDesc="public void commitTransaction()">
            <source idx="0" terminal="5,A" />
        </invoke>
    </sequence>
</process>

