blob: 613c338e55d65d98c36173bf2e0be6f42c3d18d3 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<bpel:process xmlns:bpel="http://schemas.xmlsoap.org/ws/2004/03/business-process/" xmlns:pnlk="http://schemas.xmlsoap.org/ws/2004/03/partner-link/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:Main="http://example.com/Process/Main" xmlns:NewWSDLFile="http://www.example.org/NewWSDLFile/" xmlns:tns="http://www.example.org/NewWSDLFilePartner/" xmlns:diag="http://example.com/Process" xmlns:this="http://example.com/Process/Partner" 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="Partner" bpmn:id="_TUQMgE8xEd2jjLZLPJ3siQ" name="Partner" targetNamespace="http://example.com/Process/Partner">
<bpel:import namespace="http://example.com/Process" location="Process.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
<bpel:import namespace="http://www.example.org/NewWSDLFile/" location="NewWSDLFile.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
<bpel:import namespace="http://www.example.org/NewWSDLFilePartner/" location="NewWSDLFilePartner.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
<bpel:partnerLinks>
<bpel:partnerLink name="partnerAndMainForPortTypeNewWSDLFilePartnerPlkVar" partnerLinkType="diag:PartnerAndMainForPortTypeNewWSDLFilePartnerPlk" myRole="Partner_for_Main"/>
<bpel:partnerLink name="partnerAndMainForPortTypeNewWSDLFilePlkVar" partnerLinkType="diag:PartnerAndMainForPortTypeNewWSDLFilePlk" initializePartnerRole="true" partnerRole="Main_for_Partner"/>
</bpel:partnerLinks>
<bpel:variables>
<bpel:variable name="tnsNewOperationRequestMsg" messageType="tns:NewOperationRequest"/>
<bpel:variable name="tnsNewOperationResponseMsg" messageType="tns:NewOperationResponse"/>
<bpel:variable name="newWSDLFileRespOperationRequestMsg" messageType="NewWSDLFile:RespOperationRequest"/>
<bpel:variable name="newWSDLFileRespOperationResponseMsg" messageType="NewWSDLFile:RespOperationResponse"/>
</bpel:variables>
<bpel:sequence>
<bpel:receive partnerLink="partnerAndMainForPortTypeNewWSDLFilePartnerPlkVar" portType="tns:NewWSDLFilePartner" operation="NewOperation" variable="tnsNewOperationRequestMsg" createInstance="yes" bpmn:label="Task" bpmn:id="_adCNEE8xEd2jjLZLPJ3siQ"></bpel:receive>
<bpel:assign name="init-variables-Partner">
<bpel:copy bpmn:label="$tnsNewOperationResponseMsg">
<bpel:from>
<bpel:literal>
<tns:NewOperationResponse>
<out>
</out>
</tns:NewOperationResponse>
</bpel:literal>
</bpel:from>
<bpel:to>$tnsNewOperationResponseMsg.parameters</bpel:to>
</bpel:copy>
<bpel:copy bpmn:label="$newWSDLFileRespOperationRequestMsg">
<bpel:from>
<bpel:literal>
<NewWSDLFile:RespOperation>
<in>
</in>
<id>
</id>
</NewWSDLFile:RespOperation>
</bpel:literal>
</bpel:from>
<bpel:to>$newWSDLFileRespOperationRequestMsg.parameters</bpel:to>
</bpel:copy>
</bpel:assign>
<bpel:reply partnerLink="partnerAndMainForPortTypeNewWSDLFilePartnerPlkVar" portType="tns:NewWSDLFilePartner" operation="NewOperation" variable="tnsNewOperationResponseMsg" bpmn:label="Task" bpmn:id="_adCNEE8xEd2jjLZLPJ3siQ"></bpel:reply>
<bpel:assign bpmn:label="Task" bpmn:id="_bPuG4E80Ed2jjLZLPJ3siQ">
<bpel:copy>
<bpel:from>concat($tnsNewOperationRequestMsg.parameters/in, " like it")</bpel:from>
<bpel:to>$newWSDLFileRespOperationRequestMsg.parameters/in</bpel:to>
</bpel:copy>
<bpel:copy>
<bpel:from>$tnsNewOperationRequestMsg.parameters/id</bpel:from>
<bpel:to>$newWSDLFileRespOperationRequestMsg.parameters/id</bpel:to>
</bpel:copy>
</bpel:assign>
<bpel:invoke partnerLink="partnerAndMainForPortTypeNewWSDLFilePlkVar" portType="NewWSDLFile:NewWSDLFile" operation="RespOperation" inputVariable="newWSDLFileRespOperationRequestMsg" outputVariable="newWSDLFileRespOperationResponseMsg" bpmn:label="Task" bpmn:id="_bPuG4E80Ed2jjLZLPJ3siQ"></bpel:invoke>
</bpel:sequence>
</bpel:process>