[jboss-user] [JBoss jBPM] - Re: How to do XPath query in BPEL?
ZazzaZ
do-not-reply at jboss.com
Thu Oct 25 04:15:31 EDT 2007
Previous answer is incomplete.
It looks like BPEL message and variable manipulation is implemented in not a namespace-controlled way.
Then, the previous query is correct but namespace will be missing or mixing up.
So you have to add the namespace in the query or the namespace will disappear
In previous code, if the element "part1" in defined in a schema referenced in BPEL headers like xmlns:sch=....
a correct query looks like
|
| <assign>
| <copy>
| <from variable="LoginOperationRequestVar" part="inRequest" />
| <to variable="ControlloAccessoOperationRequestVar" part="part1" query="/part1/sch:nome" />
| </copy>
| </assign>
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098701#4098701
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098701
More information about the jboss-user
mailing list