axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian DePradine (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-2646) If no wsa:To header is present on an inbound message we should default to the addressing anonymous URI.
Date Wed, 09 May 2007 13:14:15 GMT
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


Mime
View raw message