xpath problem in a simple assign operation [message #9926] |
Thu, 11 October 2007 13:05 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: kehops31.hotmail.fr
Hi,
I have got a problem with the bpel designer.
I created a default synchronous bpel process.
I just added an assign to set the output result with a sample data string
like "sample". I deployed on apache ode.
In the asign property, i tried $output.payload/tns:result
and /tns:result
in both cases when i tested, i have such errors:
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
- <soapenv:Body>
- <soapenv:Fault
xmlns:soapenv="http://docs.oasis-open.org/wsbpel/2.0/process/executable";>
<faultcode>soapenv:selectionFailure</faultcode>
<faultstring> {http://docs.oasis-open.org/wsbpel/2.0/process/executable}se lectionFailure
No results for expression: {OXPath10Expression
$output.payload/tns:result}</faultstring>
<detail />
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
If anyone has a solution, the good query to put, please tell me.
The copy part of the bpel file:
<bpws:assign name="Assign" validate="yes">
<bpws:copy>
<bpws:from>
<bpws:literal>sample</bpws:literal>
</bpws:from>
<bpws:to part="payload" variable="output">
<bpws:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0 "><![CDATA[$output.payload/tns:result]]></bpws:query>
</bpws:to>
</bpws:copy>
</bpws:assign>
|
|
|
|
Powered by
FUDForum. Page generated in 0.04295 seconds