<?xml version="1.0" ?>
<!-- 22.01.2003
     test mir storedomainentity service
 -->

<flowModel name="TestModel" serviceProviderType="StoreOutputDomainEntity" logProvenance="false">

<serviceProvider name="mir" type="MIRService">
    <locator type="static" service="http://vindaloo.ncl.ac.uk/axis/services/Mir?wsdl"/>
</serviceProvider>

<activity name="activity">
   <performedBy serviceProvider="mir"/>
   <implement>
      <export>
          <target portType="Mir" operation="storeOutputDomainEntity"/>
      </export>
   </implement>
</activity>

<dataLink source="flowSource" target="activity">
    <map sourceMessage="null" targetMessage="storeOutputDomainEntityRequest">
        <partMap source="wfInstance" target="wfInstanceID"/>
        <partMap source="conceptType" target="conceptTypeID"/>
        <partMap source="mirUser" target="userID"/>
        <partMap source="domainEntity" target="domainEntityXML"/>
    </map>
</dataLink>

<dataLink source="activity" target="flowSink">
    <map sourceMessage="storeOutputDomainEntityResponse" targetMessage="null">
        <partMap source="storeOutputDomainEntityReturn" target="WFResult"/>
    </map> 
</dataLink>

</flowModel>
