Skip to main content


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 09:28
Guillaume Porcher is currently offline Guillaume PorcherFriend
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: Thu Apr 25 13:55:12 GMT 2024

Powered by FUDForum. Page generated in 0.03199 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top