Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » BPEL Designer » Use relative queries instead of absolute queries in XPath expressions ?
Use relative queries instead of absolute queries in XPath expressions ? [message #9951] Tue, 23 October 2007 05:28
Guillaume Porcher is currently offline Guillaume Porcher
Messages: 3
Registered: July 2009
Junior Member
Hi,
I have a problem with the BPEL designer.

I just created a new BPEL process (synchronous process template). I want
to assign the content of the input message to the output message.

I create an Assign action, and a new Copy.

When I choose "input -> payload -> input" (variable / part / element) in
the from part of the copy, the designer generates an XPath query
"/tns:input".
I wonder why an absolute query is created there instead of a relative
query.

I think the context node in BPEL for XPath queries is the message part.
If the query is an absolute query ("/tns:input") the node is searched from
the document root (the message) and so the node "input" is not found.
If the query is relative ("tns:input"), the node is searched from the node
context.

I think this is shown in the examples of the section 8.2.6 of the BPEL
spec .

Is there a bug in the designer or did I misunderstand something in the
spec ?


Regards,
Guillaume Porcher
Previous Topic:stand alone running bpel-designer
Next Topic:generating java code from BPEL file using oAW
Goto Forum:
  


Current Time: Tue Jul 22 19:50:30 EDT 2014

Powered by FUDForum. Page generated in 0.14744 seconds