[jboss-user] [JBoss jBPM] - Re: BPEL 2.0 examples

alex.guizar@jboss.com do-not-reply at jboss.com
Tue May 20 21:24:25 EDT 2008


The query in your process is wrong. The Eclipse BPEL designer has the annoying costume of prepending '/' to queries which should be relative.
Try one of the following options:
<bpws:query><![CDATA[tns:result]]></bpws:query>
  | or
  | <bpws:query><![CDATA[/tns:HelloProcessResponse/tns:result]]></bpws:query>
Notice the following features:
* the context node for both queries is the value of the payload part, namely a tns:HelloProcessResponse
* the first query is relative to the context node; look at the absence of a heading '/'
* the second query is an absolute traversal from the context node's owner document (also referred as root node); look at the heading '/' and an explicit reference to the element tns:HelloProcessResponse

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152172#4152172

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4152172



More information about the jboss-user mailing list