You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Brian DePradine (JIRA)" <ji...@apache.org> on 2007/05/09 15:14:15 UTC

[jira] Created: (AXIS2-2646) If no wsa:To header is present on an inbound message we should default to the addressing anonymous URI.

If no wsa:To header is present on an inbound message we should default to the addressing anonymous URI.
-------------------------------------------------------------------------------------------------------

                 Key: AXIS2-2646
                 URL: https://issues.apache.org/jira/browse/AXIS2-2646
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: Addressing
    Affects Versions: 1.2
            Reporter: Brian DePradine
         Assigned To: Brian DePradine


The WS-Addressing spec says that if the wsa:To header is ommitted then the anonymous URI should be used as the value of the header. This is in conflict with the following comment that is included with the AddressingFinalInHandler:

        //According to the WS-Addressing spec, we should default the wsa:To header to the
        //anonymous URI. Doing that, however, might prevent a different value from being
        //used instead, such as the transport URL.

It turns out that defaulting to the transport URL only makes sense on the inbound request side of an in-out MEP because in a sychronous exchange there is no transport URL for the response as we use the HTTP back channel. It also turns out that defaulting to the anonymous URI only makes sense on the inbound response side, as there is no benefit in sending the wsa:To header as we always use the HTTP back channel. Therefore, I prose to change the code so that it only defaults to the anonymous URI on the inbound response side of an exchange. Patch to follow.

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


[jira] Updated: (AXIS2-2646) If no wsa:To header is present on an inbound message we should default to the addressing anonymous URI.

Posted by "Brian DePradine (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian DePradine updated AXIS2-2646:
-----------------------------------

    Attachment: patch.txt

> If no wsa:To header is present on an inbound message we should default to the addressing anonymous URI.
> -------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2646
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2646
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Addressing
>    Affects Versions: 1.2
>            Reporter: Brian DePradine
>         Assigned To: Brian DePradine
>         Attachments: patch.txt
>
>
> The WS-Addressing spec says that if the wsa:To header is ommitted then the anonymous URI should be used as the value of the header. This is in conflict with the following comment that is included with the AddressingFinalInHandler:
>         //According to the WS-Addressing spec, we should default the wsa:To header to the
>         //anonymous URI. Doing that, however, might prevent a different value from being
>         //used instead, such as the transport URL.
> It turns out that defaulting to the transport URL only makes sense on the inbound request side of an in-out MEP because in a sychronous exchange there is no transport URL for the response as we use the HTTP back channel. It also turns out that defaulting to the anonymous URI only makes sense on the inbound response side, as there is no benefit in sending the wsa:To header as we always use the HTTP back channel. Therefore, I prose to change the code so that it only defaults to the anonymous URI on the inbound response side of an exchange. Patch to follow.

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


[jira] Closed: (AXIS2-2646) If no wsa:To header is present on an inbound message we should default to the addressing anonymous URI.

Posted by "Brian DePradine (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian DePradine closed AXIS2-2646.
----------------------------------

       Resolution: Fixed
    Fix Version/s: nightly
                   1.3

> If no wsa:To header is present on an inbound message we should default to the addressing anonymous URI.
> -------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2646
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2646
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Addressing
>    Affects Versions: 1.2
>            Reporter: Brian DePradine
>         Assigned To: Brian DePradine
>             Fix For: 1.3, nightly
>
>         Attachments: patch.txt
>
>
> The WS-Addressing spec says that if the wsa:To header is ommitted then the anonymous URI should be used as the value of the header. This is in conflict with the following comment that is included with the AddressingFinalInHandler:
>         //According to the WS-Addressing spec, we should default the wsa:To header to the
>         //anonymous URI. Doing that, however, might prevent a different value from being
>         //used instead, such as the transport URL.
> It turns out that defaulting to the transport URL only makes sense on the inbound request side of an in-out MEP because in a sychronous exchange there is no transport URL for the response as we use the HTTP back channel. It also turns out that defaulting to the anonymous URI only makes sense on the inbound response side, as there is no benefit in sending the wsa:To header as we always use the HTTP back channel. Therefore, I prose to change the code so that it only defaults to the anonymous URI on the inbound response side of an exchange. Patch to follow.

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