<?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="PDAOQAResultNew.bpel">
    <partnerLinks>
        <partnerLink name="bpelj" partnerLinkType="bpel:bpelj" />
        <partnerLink name="TransactionUtil" partnerLinkType="bean:TransactionUtil" />
        <partnerLink name="EventInfoUtil" partnerLinkType="bean:EventInfoUtil" />
        <partnerLink name="OQAResultImpl" partnerLinkType="bean:OQAResultImpl" />
        <partnerLink name="ESBService" partnerLinkType="bean:ESBService" />
    </partnerLinks>
    <variables>
        <variable name="changeresult" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/OQAJUDGE/OQARESULT')" />
        <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="eventInfoMessage" messageType="com.cim.idm.framework.data.EventInfo"></variable>
        <variable name="eventUser" messageType="java.lang.String" expression="getXmlData('message', '//Message/Header/EVENTUSER')" />
        <variable name="message" messageType="org.jdom.Document"></variable>
        <variable name="messageid" messageType="java.lang.String"></variable>
        <variable name="mplist" messageType="java.util.List"></variable>
        <variable name="NoValueOQA" messageType="org.jdom.Document"></variable>
        <variable name="packingState" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/MATERIALPACKING/PACKINGSTATE')" />
        <variable name="PDAOQAEventTime" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/OQAJUDGE/OQAEVENTTIME')" />
        <variable name="PDAOQAResult" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/OQAJUDGE/OQARESULT')" />
        <variable name="PDAOQAResultState" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/OQAJUDGE/OQARESULTSTATE')" />
        <variable name="PDASender" messageType="java.lang.String"></variable>
        <variable name="reasonCode" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/MATERIALPACKING/REASONCODE')" />
        <variable name="receivetime" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/OQAJUDGE/OQAEVENTTIME')" />
        <variable name="replySubjectName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Header/ORIGINALSOURCESUBJECTNAME')" />
        <variable name="returnElement" messageType="org.jdom.Element"></variable>
        <variable name="shiptype" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/OQAJUDGE/SHIPTYPE')" />
        <variable name="SITENAME" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/SITENAME')" />
        <variable name="type" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/OQAJUDGE/LASTEVENTNAME')" />
        <variable name="undolist" messageType="java.util.List"></variable>
    </variables>
    <sequence>
        <receive name="PDAOQAResult" bounds="70,30,149,62">
            <input variable="message" 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()" 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,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="PDAOQAResult" 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 variable="reasonCode" type="java.lang.String" />
            <output variable="eventInfo" />
        </invoke>
        <invoke name="OQAResultImpl PDASaveOQAResult" type="invokebean" description="public void PDASaveOQAResult(com.cim.idm.framework.data.EventInfo eventInfo, org.jdom.Document doc, java.lang.String oqaResult, java.lang.String oqaResultState)" bounds="74,392,141,105" partnerLink="OQAResultImpl" partnerLinkType="OQAResultImpl" operation="PDASaveOQAResult" operationDesc="public void PDASaveOQAResult(com.cim.idm.framework.data.EventInfo eventInfo, org.jdom.Document doc, java.lang.String oqaResult, java.lang.String oqaResultState)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
            <input variable="message" type="org.jdom.Document" />
            <input variable="PDAOQAResult" type="java.lang.String" />
            <input variable="PDAOQAResultState" type="java.lang.String" />
        </invoke>
        <invoke name="OQAResultImpl PDAGetOQAList" type="invokebean" description="public java.util.List PDAGetOQAList(org.jdom.Document doc)" bounds="74,527,141,105" partnerLink="OQAResultImpl" partnerLinkType="OQAResultImpl" operation="PDAGetOQAList" operationDesc="public java.util.List PDAGetOQAList(org.jdom.Document doc)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="message" type="org.jdom.Document" />
            <output variable="mplist" />
        </invoke>
        <invoke name="OQAResultImpl generateOQAManualMessage" type="invokebean" description="public java.util.List generateOQAManualMessage(java.util.List mplist, java.lang.String shiptype, java.lang.String receivetime, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String messageid)" bounds="74,662,141,105" partnerLink="OQAResultImpl" partnerLinkType="OQAResultImpl" operation="generateOQAManualMessage" operationDesc="public java.util.List generateOQAManualMessage(java.util.List mplist, java.lang.String shiptype, java.lang.String receivetime, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String messageid)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="mplist" type="java.util.List" />
            <input variable="shiptype" type="java.lang.String" />
            <input variable="receivetime" type="java.lang.String" />
            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
            <input variable="messageid" type="java.lang.String" />
            <output variable="undolist" />
        </invoke>
        <invoke name="OQAResultImpl SaveNoValueOQAResult" type="invokebean" description="public void SaveNoValueOQAResult(java.util.List mplist, java.util.List undolist, java.lang.String shiptype, java.lang.String result, java.lang.String receivetime, java.lang.String type, com.cim.idm.framework.data.EventInfo eventInfo)" bounds="74,797,141,105" partnerLink="OQAResultImpl" partnerLinkType="OQAResultImpl" operation="SaveNoValueOQAResult" operationDesc="public void SaveNoValueOQAResult(java.util.List mplist, java.util.List undolist, java.lang.String shiptype, java.lang.String result, java.lang.String receivetime, java.lang.String type, com.cim.idm.framework.data.EventInfo eventInfo)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="mplist" type="java.util.List" />
            <input variable="undolist" type="java.util.List" />
            <input variable="shiptype" type="java.lang.String" />
            <input variable="changeresult" type="java.lang.String" />
            <input variable="receivetime" type="java.lang.String" />
            <input variable="type" type="java.lang.String" />
            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
        </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,932,296,102" partnerLink="ESBService" partnerLinkType="ESBService" operation="sendReplyBySender" operationDesc="public void sendReplyBySender(String replySubject, org.jdom.Document doc, org.jdom.Element element, String senderName)&#xA;&#x9;&#x9;throws java.lang.Exception" 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>
        <invoke name="TransactionUtil commitTransaction" type="invokebean" description="public void commitTransaction()" bounds="74,1064,141,105" partnerLink="TransactionUtil" partnerLinkType="TransactionUtil" operation="commitTransaction" operationDesc="public void commitTransaction()" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
        </invoke>
    </sequence>
</process>

