Hi, gentlemen
Thanx alot for your fast answer.
I still believe that the problem is a matter of configuration: this client code 
runs in 2 points: 
  1. from the desktop, as a stand alone client, 
and 
  2. whithin the container, called as a part of another svc.
There is no addressing header added in 1st case but it is in 2nd. Since it is 
the same jars set, and the only diff is that in 2nd case the client runs within 
axis2.war, the difference should be present smwhere here..

Sincerely,
Alex

-----Original Message-----
From: "Paul Fremantle" <[EMAIL PROTECTED]>
To: [email protected]
Date: Mon, 4 Dec 2006 07:10:18 +0000
Subject: Re: Can't disable the addressing

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to