[
https://issues.apache.org/jira/browse/ODE-660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12753809#action_12753809
]
Keith Barlow commented on ODE-660:
----------------------------------
Just for clarity...
When you assign the statement to the payload:
<bpel:to part="payload" variable="output">
</bpel:to>
The process appears to work fine and the following output is produced:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<HelloWorldResponse
xmlns="http://www.ibm.com/wds/ode/HelloWorld">Hello test</HelloWorldResponse>
</soapenv:Body>
</soapenv:Envelope>
When you try to qualify that the reponse should contain a nested result element:
<bpel:to part="payload" variable="output">
<bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0">
<![CDATA[tns:result]]>
</bpel:query>
</bpel:to>
The exception is thrown - I can't help but wonder if its a namespace issue or
something else.
Thanks.
Keith
> BPEL Queries failing in process result
> --------------------------------------
>
> Key: ODE-660
> URL: https://issues.apache.org/jira/browse/ODE-660
> Project: ODE
> Issue Type: Bug
> Affects Versions: 1.3.3
> Environment: ode-war.1.3.3 in tomcat
> Reporter: Keith Barlow
>
> When trying to execute the tutorial process shown here:
> http://www.ibm.com/developerworks/opensource/library/os-eclipse-bpel2.0/
> I ran into the following error:
> - <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> - <soapenv:Body>
> - <soapenv:Fault>
> <faultcode>soapenv:Server</faultcode>
> <faultstring
> xmlns:axis2ns21="http://docs.oasis-open.org/wsbpel/2.0/process/executable">axis2ns21:selectionFailure</faultstring>
>
> <detail />
> </soapenv:Fault>
> </soapenv:Body>
> It seems as though the error is thrown when trying to select the result
> string as the output in the Eclipse BPEL designer (M3). The following code
> is produced for the <bpel: to /> statement:
> <bpel:to part="payload" variable="output">
> <bpel:query
> queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0">
> <![CDATA[tns:result]]>
> </bpel:query>
> </bpel:to>
> which causes the above error to be thrown. It seems to be the query
> statement causing the exception thought I can't narrow it down from there.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.