You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by javaDev <ws...@bk.ru> on 2006/12/04 08:52:03 UTC

Re[2]: Can't disable the addressing

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" <pz...@gmail.com>
To: axis-user@ws.apache.org
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 <as...@yahoo.com> 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 <ws...@bk.ru>
> >
> > To: axis-user@ws.apache.org
> >
> > 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: axis-user-unsubscribe@ws.apache.org
> >
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
> 
> 
> -- 
> Paul Fremantle
> VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
> 
> http://bloglines.com/blog/paulfremantle
> paul@wso2.com
> 
> "Oxygenating the Web Service Platform", www.wso2.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org