[jira] Created: (MUSE-289) wsa:Action value is not conform to WSN1.3 specification

View: New views
3 Messages — Rating Filter:   Alert me  

[jira] Created: (MUSE-289) wsa:Action value is not conform to WSN1.3 specification

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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: muse-dev-unsubscribe@...
For additional commands, e-mail: muse-dev-help@...


[jira] Assigned: (MUSE-289) wsa:Action value is not conform to WSN1.3 specification

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/jira/browse/MUSE-289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Twiner reassigned MUSE-289:
---------------------------------

    Assignee: Chris Twiner  (was: Dan Jemiolo)

> 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: Chris Twiner
>
> 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: muse-dev-unsubscribe@...
For additional commands, e-mail: muse-dev-help@...


[jira] Resolved: (MUSE-289) wsa:Action value is not conform to WSN1.3 specification

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/jira/browse/MUSE-289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Twiner resolved MUSE-289.
-------------------------------

    Resolution: Fixed

in head.   Changed in WsnConstants directly, as this is also used by NotificationConsumerClient.

> 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: Chris Twiner
>             Fix For: 2.2.1
>
>
> 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: muse-dev-unsubscribe@...
For additional commands, e-mail: muse-dev-help@...