Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 25567 invoked from network); 4 Dec 2006 09:39:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Dec 2006 09:39:41 -0000 Received: (qmail 51712 invoked by uid 500); 4 Dec 2006 09:39:41 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 51515 invoked by uid 500); 4 Dec 2006 09:39:40 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 51504 invoked by uid 99); 4 Dec 2006 09:39:40 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Dec 2006 01:39:40 -0800 X-ASF-Spam-Status: No, hits=2.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [209.191.125.109] (HELO web38903.mail.mud.yahoo.com) (209.191.125.109) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 04 Dec 2006 01:39:27 -0800 Received: (qmail 32852 invoked by uid 60001); 4 Dec 2006 09:39:06 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=oTQFjq4ewaI3SUGmLVw+i5buBtQnRlZp0eRzhM5XUcyQEmTyjd8bwVRs938yE7kEwUxAxmJcI5+foDP3w/edELctNzBGbg20a+FrlPl+xy/+Hi6mec7ni2fx4sR5jca8GYK63ISJxZD1VQ4rzA78uS4FicgtfN8jKnF4Rsyp7/s= ; Message-ID: <20061204093906.32850.qmail@web38903.mail.mud.yahoo.com> Received: from [212.252.214.206] by web38903.mail.mud.yahoo.com via HTTP; Mon, 04 Dec 2006 01:39:06 PST Date: Mon, 4 Dec 2006 01:39:06 -0800 (PST) From: Ali Sadik Kumlali Subject: Re: Re[2]: Can't disable the addressing To: axis-user@ws.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=ascii Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Alex,=0A=0AIn your 2nd case there are two possibilities while creating t= he stub of another svc:=0A=0A1) Passing the current configuration context[1= ]=0A2) Creating a configuration context by yourself[2] and passing it=0A=0A= In the first case, there will be only one configuration both for service an= d client sides. So, both will be affected from the changes in axis2.xml. If= this is your case, then the hint Paul suggested should work for you, altho= ugh I haven't tried before.=0A=0AIn the second case, your client code is no= different than your desktop scenario.=0A=0ARegards,=0A=0AAli Sadik Kumlali= =0A=0A=0A[1] ConfigurationContext configContext =3D MessageContext.getCurre= ntMessageContext().getConfigurationContext();=0A[2] ConfigurationContext co= nfigContext =3D ConfigurationContextFactory.createConfigurationContextFromF= ileSystem (REPOSITORY, REPOSITORY + "/conf/axis2.xml");=0A=0A----- Original= Message ----=0AFrom: javaDev =0ATo: axis-user@ws.apache.org= =0ASent: Monday, December 4, 2006 9:52:03 AM=0ASubject: Re[2]: Can't disabl= e the addressing=0A=0AHi, gentlemen=0AThanx alot for your fast answer.=0AI = still believe that the problem is a matter of configuration: this client co= de runs in 2 points: =0A 1. from the desktop, as a stand alone client, =0A= and =0A 2. whithin the container, called as a part of another svc.=0AThere= is no addressing header added in 1st case but it is in 2nd. Since it is th= e same jars set, and the only diff is that in 2nd case the client runs with= in axis2.war, the difference should be present smwhere here..=0A=0ASincerel= y,=0AAlex=0A=0A-----Original Message-----=0AFrom: "Paul Fremantle" =0ATo: axis-user@ws.apache.org=0ADate: Mon, 4 Dec 2006 07:10:18 += 0000=0ASubject: Re: Can't disable the addressing=0A=0A> =0A> You can also l= eave Addressing enabled but set this property on=0A> outgoing stubs/message= s:=0A> =0A> stub._getServiceClient().getOptions.setProperty(=0A> Addressing= Constants.DISABLE_ADDRESSING_FOR_OUT_MESSAGES, "true");=0A> =0A> Paul=0A> = =0A> On 12/4/06, Ali Sadik Kumlali wrote:=0A> > Hi A= lex,=0A> >=0A> >=0A> >=0A> > It seems your client code *programmatically* e= ngages the addressing module before invoking the stub of 'another web svc'.= Therefore,=0A> > your client code should have a line similar to the follow= ing:=0A> >=0A> >=0A> >=0A> > stub._getServiceClient().engageModule(new QNam= e("addressing"));=0A> >=0A> >=0A> > If so, you should comment out this line= and give it a try.=0A> >=0A> > Regards,=0A> >=0A> > Ali Sadik Kumlali=0A> = >=0A> >=0A> > ----- Original Message ----=0A> >=0A> > From: javaDev =0A> >=0A> > To: axis-user@ws.apache.org=0A> >=0A> > Sent: Sunday, De= cember 3, 2006 7:09:41 PM=0A> >=0A> > Subject: Can't disable the addressing= =0A> >=0A> >=0A> >=0A> > Hi all.=0A> >=0A> > 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=0A> >=0A> >=0A> >=0A> > =0A> >=0A> > =0A> >=0A> > =0A> >=0A> > =0A> >=0A> > =0A> >=0A> >=0A> >=0A> > in conf/axis2.xml my service agrees now to receiv= e the request without addressing header but still sends addressing header w= hen works as a client side. How can I disable an addressing processing comp= letely?=0A> >=0A> >=0A> >=0A> > Sincerely,=0A> >=0A> > Alex=0A> >=0A> >=0A>= >=0A> > ------------------------------------------------------------------= ---=0A> >=0A> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org= =0A> >=0A> > For additional commands, e-mail: axis-user-help@ws.apache.org= =0A> >=0A> >=0A> >=0A> >=0A> >=0A> >=0A> >=0A> >=0A> >=0A> >=0A> >=0A> >=0A= > >=0A> >=0A> > __________________________________________________=0A> > Do= You Yahoo!?=0A> > Tired of spam? Yahoo! Mail has the best spam protection= around=0A> > http://mail.yahoo.com=0A> >=0A> > ---------------------------= ------------------------------------------=0A> > To unsubscribe, e-mail: ax= is-user-unsubscribe@ws.apache.org=0A> > For additional commands, e-mail: ax= is-user-help@ws.apache.org=0A> >=0A> >=0A> =0A> =0A> -- =0A> Paul Fremantle= =0A> VP/Technology, WSO2 and OASIS WS-RX TC Co-chair=0A> =0A> http://blogli= nes.com/blog/paulfremantle=0A> paul@wso2.com=0A> =0A> "Oxygenating the Web = Service Platform", www.wso2.com=0A> =0A> ----------------------------------= -----------------------------------=0A> To unsubscribe, e-mail: axis-user-u= nsubscribe@ws.apache.org=0A> For additional commands, e-mail: axis-user-hel= p@ws.apache.org=0A> =0A=0A-------------------------------------------------= --------------------=0ATo unsubscribe, e-mail: axis-user-unsubscribe@ws.apa= che.org=0AFor additional commands, e-mail: axis-user-help@ws.apache.org=0A= =0A=0A=0A=0A=0A=0A =0A_____________________________________________________= _______________________________=0ADo you Yahoo!?=0AEveryone is raving about= the all-new Yahoo! Mail beta.=0Ahttp://new.mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org