axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maarten van den Broek (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AXIS2-5597) The adressing module adds the addressing namespace declaration in the header element, which is not allowed by BP 1.2
Date Thu, 01 Aug 2013 08:35:48 GMT
Maarten van den Broek created AXIS2-5597:
--------------------------------------------

             Summary: The adressing module adds the addressing namespace declaration in the
header element, which is not allowed by BP 1.2
                 Key: AXIS2-5597
                 URL: https://issues.apache.org/jira/browse/AXIS2-5597
             Project: Axis2
          Issue Type: Bug
          Components: Addressing
    Affects Versions: 1.6.2
            Reporter: Maarten van den Broek


Validation of an axis2 message with an addressing header gives a BP1600 error.

This issue can probably be resolved by changing line 210

   addressingNamespaceObject = header.declareNamespace(addressingNamespace, WSA_DEFAULT_PREFIX);

in the class org.apache.axis2.handlers.addressing.AddressingOutHandler to

    addressingNamespaceObject = envelope.declareNamespace(addressingNamespace, WSA_DEFAULT_PREFIX);

Maybe more changes are necessary.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message