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 Boris Milanov <bv...@gmail.com> on 2008/03/06 13:07:31 UTC

[Axis2] WS-Addressing automatic engagement

Hi,

I am new to AXIS2 and I have a question regarding the WS-Addressing module
engagement.
Some modules (i.e. rampart) are always automatically engaged in the client
if the web service requires it.
I would like to know if there is a way (or a plan for future changes in
AXIS2) that addressing is also engaged automatically (without the <module
ref="addressing"/> tag in axis2.xml).

I went through the AXIS2 1.3 source and noticed that in order for the
addressing to be automatically engaged, the method *AddressingModule.**
canSupportAssertion**(Assertion arg0)* should not always return false as it
does.
Also, in the module.xml file the supported-policy-namespaces tag should be
present:

<supported-policy-namespaces namespaces="
http://www.w3.org/2006/05/addressing/wsdl" />
Basically, I think these two changes should be enough for the purpose.

I'll be grateful if someone gives me information on this.

Thanks in advance,
Boris

PS: I checked the svn trunk for AXIS2 and saw that AddressingModule.java is
no more present.