blob: 02451fcdaf15fa15fefec33b1257eb7b27c6ca2a [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<bpel:process xmlns:bpel="http://schemas.xmlsoap.org/ws/2004/03/business-process/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:pnlk="http://schemas.xmlsoap.org/ws/2004/03/partner-link/" xmlns:Pool0="http://example.com/NewDiagram/Pool0" xmlns:this="http://example.com/NewDiagram/Pool" xmlns:diag="http://example.com/NewDiagram" xmlns:bpmn="http://www.intalio.com/bpms" xmlns:atomic="http://ode.apache.org/atomicScope" queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0" expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0" bpmn:label="Pool" bpmn:id="_ZbUEcNw9Edye_tsy8V393Q" name="Pool" targetNamespace="http://example.com/NewDiagram/Pool">
<bpel:import namespace="http://example.com/NewDiagram" location="NewDiagram.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
<bpel:import namespace="http://example.com/NewDiagram/Pool" location="NewDiagram-Pool.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
<bpel:partnerLinks>
<bpel:partnerLink name="pool0AndPoolPlkVar" partnerLinkType="diag:Pool0AndPool" myRole="Pool_for_Pool0"/>
</bpel:partnerLinks>
<bpel:variables>
<bpel:variable name="thisTaskRequestMsg" messageType="this:TaskRequest"/>
<bpel:variable name="thisTaskResponseMsg" messageType="this:TaskResponse"/>
<bpel:variable name="variable" type="xs:dateTime"/>
</bpel:variables>
<bpel:sequence>
<bpel:receive partnerLink="pool0AndPoolPlkVar" portType="this:ForPool0" operation="Task"
variable="thisTaskRequestMsg" createInstance="yes"/>
<bpel:assign name="init-variables-Pool">
<bpel:copy bpmn:label="$thisTaskResponseMsg">
<bpel:from>
<bpel:literal>
<this:TaskResponse>OK</this:TaskResponse>
</bpel:literal>
</bpel:from>
<bpel:to>$thisTaskResponseMsg.body</bpel:to>
</bpel:copy>
<bpel:copy bpmn:label="$variable">
<bpel:from>xs:dateTime("2008-01-01T00:00:00Z")</bpel:from>
<bpel:to>$variable</bpel:to>
</bpel:copy>
</bpel:assign>
<bpel:assign bpmn:label="Task" bpmn:id="_e0Xz0Nw9Edye_tsy8V393Q">
<bpel:copy>
<bpel:from>xs:dateTime($variable) + xs:dayTimeDuration ("P1D")</bpel:from>
<bpel:to>$variable</bpel:to>
</bpel:copy>
<bpel:copy>
<bpel:from>$variable + xs:dayTimeDuration ("P1D")</bpel:from>
<bpel:to>$variable</bpel:to>
</bpel:copy>
</bpel:assign>
<bpel:wait bpmn:label="EventIntermediateTimer" bpmn:id="_cLa0kNw9Edye_tsy8V393Q">
<bpel:until>$variable</bpel:until>
</bpel:wait>
<bpel:reply partnerLink="pool0AndPoolPlkVar" portType="this:ForPool0" operation="Task"
variable="thisTaskResponseMsg"/>
</bpel:sequence>
</bpel:process>