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] [Commented] (AXIS2-5597) The adressing module adds the addressing namespace declaration in the header element, which is not allowed by BP 1.2
Date Mon, 14 Oct 2013 15:41:44 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-5597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13794212#comment-13794212
] 

Maarten van den Broek commented on AXIS2-5597:
----------------------------------------------

Very strange. this code seems to check only whether there is a soapMessage.

The behavior of the Dutch government compliancy test can not be explained by this code, which
would imply there is no difference between the namespace declaration in the header or the
envelope element. Performing the compliancy test at the Dutch government facility, a message
complies on BP1600 in the latter case and fails in the former case. 

I have set out a call to the organization which tests the BP 1.2 compliancy to explain me
how it works. I will post a new comment if I know more about their implementation.

> 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 was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
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