BPEL4WS

Invoke

<invoke partnerLink="ncname" portType="qname" operation="ncname"
        inputVariable="ncname"? outputVariable="ncname"?
        standard-attributes>
  standard-elements
  <correlations>?
     <correlation set="ncname" initiate="yes|no"? 
                  pattern="in|out|out-in"/>+
  </correlations>
  <catch faultName="qname" faultVariable="ncname"?>*
    activity
  </catch>
  <catchAll>?
    activity
  </catchAll>
  <compensationHandler>?
    activity
  </compensationHandler>
</invoke>

<!--- for example -->
<invoke partnerLink="Seller" portType="SP:Purchasing" 
        operation="SyncPurchase" 
        inputVariable="sendPO" 
        outputVariable="getResponse">
  <compensationHandler>
      <invoke partnerLink="Seller" portType="SP:Purchasing" 
              operation="CancelPurchase" 
              inputVariable="getResponse"
              outputVariable="getConfirmation">
  </compensationHandler>
</invoke>

José M. Vidal .

9 of 28