<?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="TESTERP.bpel">
    <partnerLinks>
        <partnerLink name="bpelj" partnerLinkType="bpel:bpelj" />
        <partnerLink name="EventInfoUtil" partnerLinkType="bean:EventInfoUtil" />
        <partnerLink name="ERPInterfaceServiceImpl" partnerLinkType="bean:ERPInterfaceServiceImpl" />
        <partnerLink name="ESBService" partnerLinkType="bean:ESBService" />
    </partnerLinks>
    <variables>
        <variable name="areaName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/AREANAME')" />
        <variable name="capaCity" messageType="java.lang.Long" expression="toLong('1')" />
        <variable name="description" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/DESCRIPTION')" />
        <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="eventUser" messageType="java.lang.String" expression="getXmlData('message', '//Message/Header/EVENTUSER')" />
        <variable name="f" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/F')" />
        <variable name="factory" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/ERPFACTORY')" />
        <variable name="index" messageType="int"></variable>
        <variable name="invoiceNo" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/INVOICENO')" />
        <variable name="makeScrappedInfo" messageType="com.cim.idm.wmspackage.materialpacking.management.info.MaterialPackingMakeScrappedInfo"></variable>
        <variable name="materialPackingKey" messageType="com.cim.idm.wmspackage.materialpacking.management.data.MaterialPackingKey"></variable>
        <variable name="materialPackingKeyList" messageType="java.util.List"></variable>
        <variable name="materialPackingList" messageType="java.util.List"></variable>
        <variable name="materialPackingNameList" messageType="java.util.List" expression="getXmlDataList('message', '//Message/Body/MaterialPackingList/MaterialPackingKey/MATERIALPACKINGNAME')" />
        <variable name="message" messageType="org.jdom.Document"></variable>
        <variable name="OICSender" messageType="java.lang.String"></variable>
        <variable name="replySubjectName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Header/ORIGINALSOURCESUBJECTNAME')" />
        <variable name="s" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/S')" />
        <variable name="siteList" messageType="java.util.List" expression="getXmlDataList('message', '//Message/Body/MaterialPackingList/MaterialPackingKey/SITENAME')" />
        <variable name="siteName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/SITENAME')" />
        <variable name="siteNameList" messageType="java.util.List"></variable>
        <variable name="storageName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/STORAGENAME')" />
        <variable name="storageOperationType" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/STORAGEOPERATIONTYPE')" />
        <variable name="storageUseType" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/STORAGEUSETYPE')" />
        <variable name="superStorageName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/SUPERSTORAGENAME')" />
        <variable name="x" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/X')" />
        <variable name="y" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/Y')" />
        <variable name="z" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/Z')" />
    </variables>
    <sequence>
        <receive name="TESTERP" bounds="70,30,149,62">
            <input variable="message" 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="makePreScrapped" 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="ERPInterfaceServiceImpl generateINT_WMS00_XML" type="invokebean" description="public static void generateINT_WMS00_XML(java.lang.String invoiceNo, com.cim.idm.framework.data.EventInfo eventInfo)" bounds="74,257,141,105" partnerLink="ERPInterfaceServiceImpl" partnerLinkType="ERPInterfaceServiceImpl" operation="generateINT_WMS00_XML" operationDesc="public static void generateINT_WMS00_XML(java.lang.String invoiceNo, com.cim.idm.framework.data.EventInfo eventInfo)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="invoiceNo" 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(java.lang.String replySubject, org.jdom.Document doc, java.lang.String senderName)" bounds="74,392,141,105" partnerLink="ESBService" partnerLinkType="ESBService" operation="sendReplyBySender" operationDesc="public void sendReplyBySender(java.lang.String replySubject, org.jdom.Document doc, java.lang.String senderName)" 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="OICSender" type="java.lang.String" />
        </invoke>
    </sequence>
</process>

