wsa:Action value is not conform to WSN1.3 specification
-------------------------------------------------------

                 Key: MUSE-289
                 URL: https://issues.apache.org/jira/browse/MUSE-289
             Project: Muse
          Issue Type: Bug
          Components: WSN NotificationConsumer
    Affects Versions: 2.2.0
            Reporter: Christian Rapp
            Assignee: Dan Jemiolo


The WS-Notification standard states the wsa:Action attribute must be set to 
http://docs.oasis-open.org/wsn/bw-2/NotificationConsumer/Notify. But within the 
Muse implementation the NotifyHandler class is looking for that value 
http://docs.oasis-open.org/wsn/bw-2/NotificationConsumer/NotifyRequest which is 
not conform to the WSN1.3. specification.
Basically the value for 'WsnConstants.NOTIFY_URI' needs to be adjusted to 
reflect the specification.

As a workaround the NotifyHandler class needs to be overwritten like shown in 
the below code snippet:

public class NotifyHandler extends AbstractMessageHandler {
        //
        // Response message never changes, so we use a static value
        //
        private static final Element _NOTIFY_RESPONSE = 
XmlUtils.createElement(WsnConstants.NOTIFY_RESPONSE_QNAME);

        public NotifyHandler() {
                super(WsnConstants.CONSUMER_URI + "/Notify", 
WsnConstants.NOTIFY_QNAME);
        }
... 
This bug is a result of the discussion that can be found here: 
http://www.nabble.com/Howto-adjust-value-for-wsa%3AAction--td17749755.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to