| <definitions name="properties" targetNamespace="http://example.com/houseloanCorrelation.wsdl" xmlns:tns="http://example.com/ houseloanCorrelation.wsdl" xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns="http://schemas.xmlsoap.org/wsdl/"> <!-- define correlation properties --> <bpws:property name="name" type="xsd:string"/> </definitions> |
| <?xml version="1.0" encoding="UTF-8"?> <definitions targetNamespace=" http://example.com/messageCorrelation.wsdl " xmlns:tns=" http://example.com/messageCorrelation.wsdl " xmlns:cor="http://example.com/houseloanCorrelation.wsdl" xmlns="http://schemas.xmlsoap.org/wsdl/" …… xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"> <types> <xsd:schema> <xsd:complexType name="getLoanQuoteRequest"> <xsd:sequence> <xsd:element name="name" type="xsd:string" /> </xsd:sequence> </xsd:complexType> …… </xsd:schema> </types> <message name="getLoanQuoteRequest"> <part name="payload" type="typens:getLoanQuoteRequest" /> </message> <message name="getLoanQuoteResponse"> <part name="payload" type="typens:getLoanQuoteResponse" /> </message> …… <bpws:propertyAlias propertyName="cor:name" messageType="tns: getLoanQuoteRequest " part=" payload " query="/ getLoanQuoteRequest /name"/> …… </definitions> |
| <correlationSets xmlns:cor="http://example.com/houseloanCorrelation.wsdl"> <correlationSet name="HouseLoanCor" properties="cor:name "/> </correlationSets> |
| <bpel:receive name="request" partnerLink="HouseLoanBroker" portType="tns:HouseLoanBroker" operation="getLoanQuote" variable="request"> <correlations> <correlation set=" HouseLoanCor " initiate="yes"> </correlations> </bpel:receive> |
关注此文的读者还看过: