You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-dev@ws.apache.org by "Chris Twiner (JIRA)" <ji...@apache.org> on 2009/01/03 17:47:44 UTC

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

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