receive Activity


The receive activity waits for a message that matches the detail in the related WSDL operation.

 <receive name="getQuote"          partnerLink="agent"          operation="requestQuote"          variable="quoteDetails"          createInstance="yes" /> 

Among the attributes of the receive activity:

  • partnerLink identifies the partner link used to connect to the service.

  • portType identifies the port type but is optional because the port type is implied by the partner link and by the role identifier myRole in that partner link.

  • operation identifies the service operation.

  • variable identifies a variable that receives the business data from the service. Specify this attribute only if you don't specify the fromParts element.

  • createInstance indicates whether the activity creates a BPEL instance. Valid values are yes and no. The default is no.

  • messageExchange references a message exchange.

Among the elements in the receive activity:

  • correlations references one or more correlation sets.

  • fromParts identifies a set of message parts and related variables to receive business data. Specify the fromParts element only if you don't specify the variable attribute.




SOA for the Business Developer. Concepts, BPEL, and SCA
SOA for the Business Developer: Concepts, BPEL, and SCA (Business Developers series)
ISBN: 1583470654
EAN: 2147483647
Year: 2004
Pages: 157
Authors: Ben Margolis

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net