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 "Maarten van den Broek (JIRA)" <ji...@apache.org> on 2013/08/01 10:35:48 UTC

[jira] [Created] (AXIS2-5597) The adressing module adds the addressing namespace declaration in the header element, which is not allowed by BP 1.2

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