Schema Central > WS-BPEL 2.0 > ws-bpel_executable.xsd > sequence
Advanced search
Need SOA Help?

Recommended Reading:

Web Service Contract Design and Versioning for SOA

 

Definitive XML Schema

 

sequence

Element information

Type: tSequence

Properties: Global, Qualified

Content

Attributes

NameOccTypeDescriptionNotes
Any attribute[0..*]Namespace: ##other, Process Contents: laxfrom type tExtensibleElements
name [0..1]xsd:NCNamefrom type tActivity
suppressJoinFailure [0..1]tBooleanfrom type tActivity

Used in

Sample instance

<sequence>
   <receive partnerLink="purchasing" portType="lns:purchaseOrderPT"
            operation="sendPurchaseOrder"
            variable="PO"
            createInstance="yes">
      <documentation>Receive Purchase Order</documentation>
   </receive>
   <flow>
      <documentation>
                    
                    A parallel flow to handle shipping, invoicing and
                    
                    scheduling
                    
                </documentation>
      <links>
         <link name="ship-to-invoice"/>
         <link name="ship-to-scheduling"/>
      </links>
      <sequence>
         <assign>
            <copy>
               <from>$PO.customerInfo</from>
               <to>$shippingRequest.customerInfo</to>
            </copy>
         </assign>
         <invoke partnerLink="shipping" portType="lns:shippingPT" operation="requestShipping"
                 inputVariable="shippingRequest"
                 outputVariable="shippingInfo">
            <documentation>Decide On Shipper</documentation>
            <sources>
               <source linkName="ship-to-invoice"/>
            </sources>
         </invoke>
         <receive partnerLink="shipping" portType="lns:shippingCallbackPT"
                  operation="sendSchedule"
                  variable="shippingSchedule">
            <documentation>Arrange Logistics</documentation>
            <sources>
               <source linkName="ship-to-scheduling"/>
            </sources>
         </receive>
      </sequence>
      <sequence>
         <invoke partnerLink="invoicing" portType="lns:computePricePT"
                 operation="initiatePriceCalculation"
                 inputVariable="PO">
            <documentation>
                            
                            Initial Price Calculation
                            
                        </documentation>
         </invoke>
         <invoke partnerLink="invoicing" portType="lns:computePricePT"
                 operation="sendShippingPrice"
                 inputVariable="shippingInfo">
            <documentation>
                            
                            Complete Price Calculation
                            
                        </documentation>
            <targets>
               <target linkName="ship-to-invoice"/>
            </targets>
         </invoke>
         <receive partnerLink="invoicing" portType="lns:invoiceCallbackPT"
                  operation="sendInvoice"
                  variable="Invoice"/>
      </sequence>
      <sequence>
         <invoke partnerLink="scheduling" portType="lns:schedulingPT"
                 operation="requestProductionScheduling"
                 inputVariable="PO">
            <documentation>
                            
                            Initiate Production Scheduling
                            
                        </documentation>
         </invoke>
         <invoke partnerLink="scheduling" portType="lns:schedulingPT"
                 operation="sendShippingSchedule"
                 inputVariable="shippingSchedule">
            <documentation>
                            
                            Complete Production Scheduling
                            
                        </documentation>
            <targets>
               <target linkName="ship-to-scheduling"/>
            </targets>
         </invoke>
      </sequence>
   </flow>
   <reply partnerLink="purchasing" portType="lns:purchaseOrderPT"
          operation="sendPurchaseOrder"
          variable="Invoice">
      <documentation>Invoice Processing</documentation>
   </reply>
</sequence>

Site developed and hosted by Datypic, Inc.

Please report errors or comments about this site to pwalmsley@datypic.com