You can also leave Addressing enabled but set this property on
outgoing stubs/messages:
stub._getServiceClient().getOptions.setProperty(
AddressingConstants.DISABLE_ADDRESSING_FOR_OUT_MESSAGES, "true");
Paul
On 12/4/06, Ali Sadik Kumlali <[EMAIL PROTECTED]> wrote:
Hi Alex,
It seems your client code *programmatically* engages the addressing module
before invoking the stub of 'another web svc'. Therefore,
your client code should have a line similar to the following:
stub._getServiceClient().engageModule(new QName("addressing"));
If so, you should comment out this line and give it a try.
Regards,
Ali Sadik Kumlali
----- Original Message ----
From: javaDev <[EMAIL PROTECTED]>
To: [email protected]
Sent: Sunday, December 3, 2006 7:09:41 PM
Subject: Can't disable the addressing
Hi all.
A have a service which in turn call to another web svc. It means axis2.1.1
web-app works as a server and client sides simultaneously. I do not success to
disable the WS-Addressing: after I commented
<!-- ================================================= -->
<!-- Global Modules -->
<!-- ================================================= -->
<!-- Comment this to disable Addressing -->
<module ref="addressing"/>
in conf/axis2.xml my service agrees now to receive the request without
addressing header but still sends addressing header when works as a client
side. How can I disable an addressing processing completely?
Sincerely,
Alex
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
http://bloglines.com/blog/paulfremantle
[EMAIL PROTECTED]
"Oxygenating the Web Service Platform", www.wso2.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]