Hi,
As specified under 8.4 OASIS Specification: http://www.oasis-open.org/apps/group_public/download.php/18714/#_Toc135660191 the from-spec MUST be one of the
following variants:
<from variable="NCName" part="NCName"?/>
<from partnerLink="NCName" endpointReference="myRole|partnerRole"/>
<from variable="NCName" property="QName"/>
<from expressionLanguage="anyURI"?>_expression_</from>
<from><literal>literal value</literal></from> --------------------------------------------------------------------------------------------------------
I've just install BPEL2.0 for Eclipse. When I make an assign of one variable (messageType.part/query) to another variable (messageType.part/query), the code are displayed in <from><query></query></from>, which are not
allowed in BPEL 2.0?
It has to be like this instead: <from>$message.part/query</from> Or am I wrong with the 2.0 specification? ---------------------------------------------------------------------------------------------------------- <bpel:copy> <bpel:from part="parameters" variable="TravelBookingInput"> <bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[TravelBookRequest/startAirport]]></bpel:query>
</bpel:from> <bpel:to part="parameters" variable="TravelBookingOutput"> <bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[TravelBookResponse/startAirport]]></bpel:query> </bpel:to> </bpel:copy>
|