<?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="CreateCustomer.bpel">
    <partnerLinks>
        <partnerLink name="bpelj" partnerLinkType="bpel:bpelj" />
        <partnerLink name="EventInfoUtil" partnerLinkType="bean:EventInfoUtil" />
        <partnerLink name="SupplierCustomerServiceImpl" partnerLinkType="bean:SupplierCustomerServiceImpl" />
        <partnerLink name="ESBService" partnerLinkType="bean:ESBService" />
    </partnerLinks>
    <variables>
        <variable name="address" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/ADDRESS')" />
        <variable name="customerName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/CUSTOMERNAME')" />
        <variable name="customerNO" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/CUSTOMERNO')" />
        <variable name="description" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/DESCRIPTION')" />
        <variable name="destination" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/DESTINATION')" />
        <variable name="email" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/EMAIL')" />
        <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="fax" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/FAX')" />
        <variable name="incharge" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/INCHARGE')" />
        <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="tel" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/TEL')" />
    </variables>
    <sequence>
        <receive name="CreateCustomer" bounds="70,30,101,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="50,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="CreateCustomer" 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="SupplierCustomerServiceImpl createCustomer" type="invokebean" description="public void createCustomer(com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String customerNO, java.lang.String customerName, java.lang.String description, java.lang.String destination, java.lang.String address, java.lang.String tel, java.lang.String fax, java.lang.String incharge, java.lang.String email)" bounds="50,257,141,105" partnerLink="SupplierCustomerServiceImpl" partnerLinkType="SupplierCustomerServiceImpl" operation="createCustomer" operationDesc="public void createCustomer(com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String customerNO, java.lang.String customerName, java.lang.String description, java.lang.String destination, java.lang.String address, java.lang.String tel, java.lang.String fax, java.lang.String incharge, java.lang.String email)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
            <input variable="customerNO" type="java.lang.String" />
            <input variable="customerName" type="java.lang.String" />
            <input variable="description" type="java.lang.String" />
            <input variable="destination" type="java.lang.String" />
            <input variable="address" type="java.lang.String" />
            <input variable="tel" type="java.lang.String" />
            <input variable="fax" type="java.lang.String" />
            <input variable="incharge" type="java.lang.String" />
            <input variable="email" type="java.lang.String" />
        </invoke>
        <invoke name="ESBService sendReplyBySender" type="invokebean" description="public void sendReplyBySender(java.lang.String replySubject, org.jdom.Document doc, java.lang.String senderName)" bounds="50,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>

