You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by ilyas_asg <il...@asg.com> on 2008/12/26 22:27:59 UTC

wsn-http-binding example: Action element in SOAP Notify message

I have a question regarding Notify message, in particular the WS-Addressing
action element in the SOAP message header.

It appears that when I place the WS-Addressing action in the SOAP header, as
required by the standard:
<env:Header>
 <wsa:Action>
   http://docs.oasis-open.org/wsn/bw-2/NotificationConsumer/Notify
 </wsa:Action>
</env:Header>

(see
"http://docs.oasis-open.org/wsn/wsn-ws_base_notification-1.3-spec-os.pdf" at
line 348:
"WS-Addressing [action] Message Addressing Property MUST contain the URI 
http://docs.oasis-open.org/wsn/bw-2/NotificationConsumer/Notify"),

then the ServiceMix produces this error:
  javax.jbi.messaging.MessagingException: Could not find route for exchange:
InOut[
  id: ID:10.10.6.20-11e75014bcd-2:4
  status: Active
  role: provider
  interface: {http://docs.oasis-open.org/wsn/bw-2}NotificationConsumer
  operation: {http://docs.oasis-open.org/wsn/bw-2}Notify
  in: &lt;?xml version="1.0" encoding="UTF-8"?>&lt;wsnt:Notify ....

Please note that Notice delivery works fine if there is no entry in the SOAP
header at all:
<env:Header>
</env:Header>


Shoud I raise a JIRA issue for this?

Your comments are welcome!

-- 
View this message in context: http://www.nabble.com/wsn-http-binding-example%3A-Action-element-in-SOAP-Notify-message-tp21178988p21178988.html
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.