[Users] EIP Router

Vincent Zurczak [via Petals ESB] ml-node+2784148-1710572836-385891 at n3.nabble.com
Wed Apr 6 10:50:48 CEST 2011



Your jbi.xml "says" this:
+ If the request message has a "add" element as the root element, then
invoke MultiService.
+ Otherwise, invoke SommeService.

When you send the message that starts with "mul", the test fails and the
second service is invoked.
Since it does not have the "mul" operation, it returns No such operation
'mul'.

The reason why the "add" works is a little more tricky and it needs to be
confirmed.
In fact, the first test fails too. And the default service (SommeService) is
invoked.
I think the test fails because the request you send does not have qualified
elements. And thus, the XPAth function local-name returns an empty string.

Conclusion: to make it work, change your test to find "mul" elements, and
qualify the elements in your request (take a look at the WSDL of services
you invoke to find the namespace URI).

_______________________________________________
If you reply to this email, your message will be added to the discussion below:
http://forum.petalslink.com/EIP-Router-tp2779080p2784148.html
To start a new topic under Users (get help, provide help), email ml-node+2681628-1333396262-385891 at n3.nabble.com
To unsubscribe from Users (get help, provide help), visit http://forum.petalslink.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2681628&code=dXNlcnNAZm9ydW0ucGV0YWxzbGluay5vcmd8MjY4MTYyOHwtOTE3MDU0NjU4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum-list.petalslink.org/pipermail/users/attachments/20110406/37d446d8/attachment-0001.htm>


More information about the Users mailing list