<?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="OQAPreInspect.bpel">
    <partnerLinks>
        <partnerLink name="bpelj" partnerLinkType="bpel:bpelj" />
        <partnerLink name="MaterialPackingServiceImpl" partnerLinkType="bean:MaterialPackingServiceImpl" />
    </partnerLinks>
    <variables>
        <variable name="message" messageType="org.jdom.Document"></variable>
        <variable name="messageName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Header/MESSAGENAME')" />
        <variable name="siteName" messageType="java.lang.String"></variable>
        <variable name="siteNameList" messageType="java.util.List"></variable>
    </variables>
    <sequence>
        <receive name="OQAPreInspect" bounds="70,30,101,62">
            <input variable="message" type="org.jdom.Document" />
        </receive>
        <invoke name="MaterialPackingServiceImpl getSiteList" type="invokebean" description="public java.util.List getSiteList()" bounds="50,122,141,105" partnerLink="MaterialPackingServiceImpl" partnerLinkType="MaterialPackingServiceImpl" operation="getSiteList" operationDesc="public java.util.List getSiteList()" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <output variable="siteNameList" />
        </invoke>
        <while name="while" bounds="104,257,32,32" type="2" collection="siteNameList" element="siteName">
            <source idx="0" terminal="5,A" />
            <whilestart name="whilestart" type="whilestart" bounds="65,336,110,49">
                <source idx="0" terminal="5,A" />
            </whilestart>
            <invoke name="MaterialPackingServiceImpl getQueryResult" type="invokebean" description="public void getQueryResult(java.lang.String messageName, java.lang.String queryId, java.lang.String version, java.lang.String senderName, java.lang.String siteName)" bounds="50,415,141,105" partnerLink="MaterialPackingServiceImpl" partnerLinkType="MaterialPackingServiceImpl" operation="getQueryResult" operationDesc="public void getQueryResult(java.lang.String messageName, java.lang.String queryId, java.lang.String version, java.lang.String senderName, java.lang.String siteName)" ignoreThrow="false" fork="false">
                <source idx="0" terminal="5,A" />
                <input variable="messageName" type="java.lang.String" />
                <input constant="GetInspectedList" type="java.lang.String" />
                <input constant="10002" type="java.lang.String" />
                <input constant="OICSender" type="java.lang.String" />
                <input variable="siteName" type="java.lang.String" />
            </invoke>
            <whileend name="whileend" type="whileend" bounds="65,540,110,49">
                <source idx="0" terminal="5,A" />
            </whileend>
        </while>
    </sequence>
</process>

