<?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="UserLogout.bpel">
    <partnerLinks>
        <partnerLink name="bpelj" partnerLinkType="bpel:bpelj" />
        <partnerLink name="TransactionUtil" partnerLinkType="bean:TransactionUtil" />
        <partnerLink name="ESBService" partnerLinkType="bean:ESBService" />
        <partnerLink name="UserProfileServiceImpl" partnerLinkType="bean:UserProfileServiceImpl" />
    </partnerLinks>
    <variables>
        <variable name="error" messageType="java.lang.Exception"></variable>
        <variable name="errorMessage" messageType="java.lang.String"></variable>
        <variable name="language" messageType="java.lang.String" expression="getXmlData('message', '//Message/Header/LANGUAGE')" />
        <variable name="message" messageType="org.jdom.Document"></variable>
        <variable name="password" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/PASSWORD')" />
        <variable name="replySubjectName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Header/ORIGINALSOURCESUBJECTNAME')" />
        <variable name="returnElement" messageType="org.jdom.Element"></variable>
        <variable name="uiName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/UINAME')" />
        <variable name="userId" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/USERID')" />
        <variable name="workStationName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/WORKSTATIONNAME')" />
    </variables>
    <faultHandlers name="faultHandlers" bounds="289,89,378,332">
        <catchAll name="catchAll" type="catchAll" bounds="24,35,325,275">
            <invoke name="TransactionUtil rollbackTransaction" type="invokebean" description="public void rollbackTransaction()" bounds="49,8,140,102" partnerLink="TransactionUtil" partnerLinkType="TransactionUtil" operation="rollbackTransaction" operationDesc="public void rollbackTransaction()" ignoreThrow="false" fork="false" />
            <invoke name="ESBService sendErrorBySender" type="invokebean" description="public void sendErrorBySender(java.lang.String replySubject, org.jdom.Document doc, java.lang.String lanuage, com.cim.idm.wmsextend.generic.errorHandler.CustomException e, java.lang.String senderName)" bounds="-30,126,300,102" partnerLink="ESBService" partnerLinkType="ESBService" operation="sendErrorBySender" operationDesc="public void sendErrorBySender(java.lang.String replySubject, org.jdom.Document doc, java.lang.String lanuage, com.cim.idm.fgmsextend.generic.errorHandler.CustomException e, 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 variable="language" type="java.lang.String" />
                <input variable="error" type="java.lang.Exception" />
                <input constant="OICSender" type="java.lang.String" />
            </invoke>
        </catchAll>
    </faultHandlers>
    <sequence>
        <receive name="UserLogin" bounds="70,30,140,75">
            <input variable="message" type="org.jdom.Document" />
        </receive>
        <invoke name="TransactionUtil beginTransaction" type="invokebean" description="public void beginTransaction()" bounds="70,135,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="UserProfileServiceImpl logOut" type="invokebean" description="public void logOut(String userId, String uiName, String workStationName)&#xA;&#x9;&#x9;throws kr.co.aim.nanotrack.generic.exception.InvalidStateTransitionSignal, kr.co.aim.nanotrack.generic.exception.FrameworkErrorSignal, kr.co.aim.nanotrack.generic.exception.NotFoundSignal, kr.co.aim.nanotrack.generic.exception.DuplicateNameSignal" bounds="44,270,192,92" partnerLink="UserProfileServiceImpl" partnerLinkType="UserProfileServiceImpl" operation="logOut" operationDesc="public void logOut(String userId, String uiName, String workStationName)&#xA;&#x9;&#x9;throws kr.co.aim.nanotrack.generic.exception.InvalidStateTransitionSignal, kr.co.aim.nanotrack.generic.exception.FrameworkErrorSignal, kr.co.aim.nanotrack.generic.exception.NotFoundSignal, kr.co.aim.nanotrack.generic.exception.DuplicateNameSignal" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="userId" type="java.lang.String" />
            <input variable="uiName" type="java.lang.String" />
            <input variable="workStationName" type="java.lang.String" />
        </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="-8,392,296,102" partnerLink="ESBService" partnerLinkType="ESBService" operation="sendReplyBySender" operationDesc="public void sendReplyBySender(String replySubject, org.jdom.Document doc, org.jdom.Element element, String senderName)&#xD;&#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="OICSender" type="java.lang.String" />
        </invoke>
        <invoke name="TransactionUtil commitTransaction" type="invokebean" description="public void commitTransaction()" bounds="70,524,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>

