<?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="queryLibraryStates.bpel">
    <partnerLinks>
        <partnerLink name="bpelj" partnerLinkType="bpel:bpelj" />
        <partnerLink name="TransactionUtil" partnerLinkType="bean:TransactionUtil" />
        <partnerLink name="EventInfoUtil" partnerLinkType="bean:EventInfoUtil" />
        <partnerLink name="MaterialPackingStockInImpl" partnerLinkType="bean:MaterialPackingStockInImpl" />
        <partnerLink name="OQAResultImpl" partnerLinkType="bean:OQAResultImpl" />
        <partnerLink name="ESBService" partnerLinkType="bean:ESBService" />
    </partnerLinks>
    <variables>
        <variable name="ERPSender" messageType="java.lang.String"></variable>
        <variable name="eventInfo" messageType="com.cim.idm.framework.data.EventInfo"></variable>
        <variable name="information" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/INFORMATION')" />
        <variable name="informationList" messageType="java.util.List"></variable>
        <variable name="INT_PI052" messageType="java.lang.String"></variable>
        <variable name="message" messageType="org.jdom.Document"></variable>
        <variable name="messageID" messageType="java.lang.String"></variable>
        <variable name="oqaFlag" messageType="java.lang.String"></variable>
        <variable name="queryLibraryStates" messageType="org.jdom.Document"></variable>
        <variable name="replySubjectName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Header/ORIGINALSOURCESUBJECTNAME')" />
        <variable name="returnMes" messageType="java.lang.String"></variable>
        <variable name="siteName" messageType="java.lang.String"></variable>
        <variable name="TQMS" messageType="java.lang.String"></variable>
    </variables>
    <sequence>
        <receive name="queryLibraryStates" bounds="70,30,149,62">
            <input variable="message" type="org.jdom.Document" />
        </receive>
        <invoke name="TransactionUtil beginTransaction" type="invokebean" description="public void beginTransaction()" bounds="65,122,158,106" 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="74,258,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="queryLibraryStates" type="java.lang.String" />
            <input constant="TQMS" type="java.lang.String" />
            <input constant="" type="java.lang.String" />
            <input constant="" type="java.lang.String" />
            <input constant="" type="java.lang.String" />
            <output variable="eventInfo" />
        </invoke>
        <invoke name="MaterialPackingStockInImpl getInformationList" type="invokebean" description="public java.util.List getInformationList(java.lang.String information)" bounds="74,393,141,105" partnerLink="MaterialPackingStockInImpl" partnerLinkType="MaterialPackingStockInImpl" operation="getInformationList" operationDesc="public java.util.List getInformationList(java.lang.String information)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="information" type="java.lang.String" />
            <output variable="informationList" />
        </invoke>
        <invoke name="MaterialPackingStockInImpl GetSiteName" type="invokebean" description="public java.lang.String GetSiteName(java.util.List informationList)" bounds="74,528,141,105" partnerLink="MaterialPackingStockInImpl" partnerLinkType="MaterialPackingStockInImpl" operation="GetSiteName" operationDesc="public java.lang.String GetSiteName(java.util.List informationList)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="informationList" type="java.util.List" />
            <output variable="siteName" />
        </invoke>
        <invoke name="MaterialPackingStockInImpl GetMessageID" type="invokebean" description="public java.lang.String GetMessageID(java.lang.String sitename)" bounds="74,663,141,105" partnerLink="MaterialPackingStockInImpl" partnerLinkType="MaterialPackingStockInImpl" operation="GetMessageID" operationDesc="public java.lang.String GetMessageID(java.lang.String sitename)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="siteName" type="java.lang.String" />
        </invoke>
        <invoke name="OQAResultImpl sendStockInformation" type="invokebean" description="public java.lang.String sendStockInformation(java.util.List mpList, com.cim.idm.framework.data.EventInfo eventInfo)" bounds="74,798,141,105" partnerLink="OQAResultImpl" partnerLinkType="OQAResultImpl" operation="sendStockInformation" operationDesc="public java.lang.String sendStockInformation(java.util.List mpList, com.cim.idm.framework.data.EventInfo eventInfo)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="informationList" type="java.util.List" />
            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
            <output variable="returnMes" />
        </invoke>
        <invoke name="TransactionUtil commitTransaction" type="invokebean" description="public void commitTransaction()" bounds="63,933,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, java.lang.String senderName, java.lang.String resultCode, java.lang.String resultMessage)" bounds="74,1066,141,105" partnerLink="ESBService" partnerLinkType="ESBService" operation="sendReplyBySender" operationDesc="public void sendReplyBySender(java.lang.String replySubject, org.jdom.Document doc, java.lang.String senderName, java.lang.String resultCode, java.lang.String resultMessage)" 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="ERPSender" type="java.lang.String" />
            <input constant="0" type="java.lang.String" />
            <input variable="returnMes" type="java.lang.String" />
        </invoke>
    </sequence>
</process>

