Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 50598 invoked from network); 22 Apr 2009 12:24:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Apr 2009 12:24:56 -0000 Received: (qmail 58153 invoked by uid 500); 22 Apr 2009 12:24:53 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 58105 invoked by uid 500); 22 Apr 2009 12:24:53 -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 58096 invoked by uid 99); 22 Apr 2009 12:24:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Apr 2009 12:24:53 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [193.172.9.17] (HELO ms02.ictu.nl) (193.172.9.17) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Apr 2009 12:24:45 +0000 X-ASG-Debug-ID: 1240403058-10bc008e0000-MyY4CN X-Barracuda-URL: http://10.19.5.4:8000/cgi-bin/mark.cgi Received: from egs01.dh24.ictu.nl (localhost [127.0.0.1]) by ms02.ictu.nl (Spam & Virus Firewall) with ESMTP id A582A40761 for ; Wed, 22 Apr 2009 14:24:20 +0200 (CEST) Received: from egs01.dh24.ictu.nl (egs01.dh24.ictu.nl [10.10.2.45]) by ms02.ictu.nl with ESMTP id 7taCLWaq1sJMI0kp for ; Wed, 22 Apr 2009 14:24:20 +0200 (CEST) X-Barracuda-Envelope-From: Erwin.Reinhoud@ictu.nl X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C9C345.41DB0635" X-ASG-Orig-Subj: RE: Getting the Content Lenth of The SOAP Response Subject: RE: Getting the Content Lenth of The SOAP Response Date: Wed, 22 Apr 2009 14:24:18 +0200 Message-ID: <00C8AD14F75DCF46AD69F7548E64124C0E0664@egs01.dh24.ictu.nl> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Getting the Content Lenth of The SOAP Response Thread-Index: AcnDK6ig7RfNF/BZSuyOJpxDbiZ/KwAALYkAAAWDK5AAAKIRIA== References: <471812.36658.qm@web8804.mail.in.yahoo.com> <00C8AD14F75DCF46AD69F7548E64124C0E0663@egs01.dh24.ictu.nl> From: "Erwin Reinhoud" To: X-Barracuda-Connect: egs01.dh24.ictu.nl[10.10.2.45] X-Barracuda-Start-Time: 1240403060 X-Barracuda-Virus-Scanned: by ms02.ictu.nl at ictu.nl X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C9C345.41DB0635 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I think it is related to the service not the client. On service this property (axis2.xml) has little effect it seems. =20 Regards, Erwin ________________________________ Van: Li, Zhenge [mailto:zhenge.li@cgi.com]=20 Verzonden: woensdag 22 april 2009 14:13 Aan: axis-user@ws.apache.org Onderwerp: RE: Getting the Content Lenth of The SOAP Response Chunking can be turned off by tuning the org.apache.axis2.transport.http.HTTPConstants.CHUNKED constant.=20 =20 Options options =3D new org.apache.axis2.client.Options.Options(); ... options.setProperty(org.apache.axis2.transport.http.HTTPConstants.CHUNKE D, false); ServiceClient client =3D stub._getServiceClient(); client.setOptions(options); =20 You can check out http://wso2.org/library/230 for all available parameters dealing with various aspects of Axis2. Believe me, Axis2 is as flexible as you want it to be. :-) =20 -richard=20 =20 ________________________________ From: Erwin Reinhoud [mailto:Erwin.Reinhoud@ictu.nl]=20 Sent: April 22, 2009 6:37 AM To: axis-user@ws.apache.org Subject: RE: Getting the Content Lenth of The SOAP Response =20 Hello Sriram, =20 Okay, that axis2 doesnt set content header when not applying chunking is new to me. In my experience it only does not set it when applying chunking. If you dont need chunking you might want to use http 1.0. =20 http://www.archivum.info/axis-user@ws.apache.org/2007-08/msg00343.html =20 =20 Regards, Erwin =20 ________________________________ Van: sri ram [mailto:pinnamaraju_sriram@yahoo.co.in]=20 Verzonden: woensdag 22 april 2009 11:10 Aan: axis-user@ws.apache.org Onderwerp: RE: Getting the Content Lenth of The SOAP Response Hi Erwin, We don't need chunking ,thats the reason we need Content Length header . Regards, Sriram --- On Wed, 22/4/09, Erwin Reinhoud wrote: From: Erwin Reinhoud Subject: RE: Getting the Content Lenth of The SOAP Response To: axis-user@ws.apache.org Date: Wednesday, 22 April, 2009, 1:26 PM Do you need to apply chunking? I think if you dont the Content length is added. =20 regards, Erwin =20 ________________________________ Van: sri ram [mailto:pinnamaraju_sriram@yahoo.co.in]=20 Verzonden: woensdag 22 april 2009 8:46 Aan: axis-user@ws.apache.org Onderwerp: Re: Getting the Content Lenth of The SOAP Response Hi All, In Axis 2.1.4 ,the axis servlet sets some header by default but doesn't set the=20 Content Length header which plays a major part in chunking a response. I just need to know how to include this header in my response . Should I Use MessageReceiver Class ? Or=20 Are there some other Class that can manipulate the response to add my own headers Please let me know its kind of important. --- On Tue, 14/4/09, sri ram wrote: From: sri ram Subject: Re: Getting the Content Lenth of The SOAP Response To: axis-user@ws.apache.org Date: Tuesday, 14 April, 2009, 5:59 PM Can someone immediately reply for this query.If needed I can provide=20 necessary data.Its urgent. --- On Tue, 14/4/09, sri ram wrote: From: sri ram Subject: Getting the Content Lenth of The SOAP Response To: axis-user@ws.apache.org Date: Tuesday, 14 April, 2009, 3:06 PM Hi all, (Axis 2.14.)=20 In my scenario we need a header mentioning the Content Length of the SOAP response and we extend AxisServlet ,and do the super.doPost(request,response). Can some body let me know how to extract the response size . Thanks,=20 Sriram=20 =20 ________________________________ Connect with friends all over the world. Get Yahoo! India Messenger. =20 =20 ________________________________ Connect with friends all over the world. Get Yahoo! India Messenger. =20 =20 ________________________________ >From Chandigarh to Chennai - find friends all over India. Click here. =20 ________________________________ >From Chandigarh to Chennai - find friends all over India. Click here. =20 ------_=_NextPart_001_01C9C345.41DB0635 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
I think it is related to the service not the = client. On=20 service this property (axis2.xml) has little effect it=20 seems.
 
Regards,
Erwin


Van: Li, Zhenge = [mailto:zhenge.li@cgi.com]=20
Verzonden: woensdag 22 april 2009 14:13
Aan:=20 axis-user@ws.apache.org
Onderwerp: RE: Getting the Content = Lenth of=20 The SOAP Response

Chunking can = be turned=20 off by tuning the org.apache.axis2.transport.http.HTTPConstants.CHUNKED=20 constant.

 

Options = options =3D new=20 org.apache.axis2.client.Options.Options();

options.setProperty(org.apache.axis2.transport.http.HTTPConstants.= CHUNKED,=20 false);

ServiceClient = client =3D=20 stub._getServiceClient();

client.setOptions(options);

 

You can check = out http://wso2.org/library/230 for = all=20 available parameters dealing with various aspects of Axis2. Believe me, = Axis2 is=20 as flexible as you want it to be. J

 

-richard=20

 


From: Erwin=20 Reinhoud [mailto:Erwin.Reinhoud@ictu.nl]
Sent:
April 22, 2009 6:37 = AM
To: axis-user@ws.apache.org
Subject: RE: Getting the Content = Lenth of=20 The SOAP Response

 

Hello=20 Sriram,

 

Okay, that = axis2 doesnt=20 set content header when not applying chunking is new to me. In my = experience it=20 only does not set it when applying chunking. If you dont need chunking = you might=20 want to use http 1.0.

 

http://www.archivum.info/axis-user@ws.apache.org/2007-08/msg00343.= html

 

 

Regards,

Erwin

 


Van:=20 sri ram [mailto:pinnamaraju_sriram@yahoo.co.in]
Verzonden:
woensdag 22 april 2009 = 11:10
Aan: = axis-user@ws.apache.org
Onderwerp: RE: Getting the = Content Lenth of=20 The SOAP Response

Hi Erwin,

We don't need chunking = ,thats the=20 reason we need Content Length header=20 .

Regards,
Sriram


--- On Wed, 22/4/09, Erwin Reinhoud <Erwin.Reinhoud@ictu.nl>
=20 wrote:


From:=20 Erwin Reinhoud <Erwin.Reinhoud@ictu.nl>
Subject: RE: = Getting the=20 Content Lenth of The SOAP Response
To: axis-user@ws.apache.org
Date: = Wednesday, 22=20 April, 2009, 1:26 PM

Do you = need to=20 apply chunking? I think if you dont the Content length is=20 added.

 

regards,

Erwin

 


Van: sri ram=20 [mailto:pinnamaraju_sriram@yahoo.co.in]
Verzonden:
woensdag 22 = april 2009=20 8:46
Aan: = axis-user@ws.apache.org
Onderwerp: Re: Getting the = Content=20 Lenth of The SOAP Response

Hi All,


In Axis 2.1.4 = ,the axis=20 servlet sets some header by default but doesn't set the =
Content=20 Length header which plays a major part in chunking a=20 response.

I just need to know how to include this = header in=20 my response .
Should I Use MessageReceiver Class ?
Or =
Are=20 there some other Class that can manipulate the response to = add my=20 own headers
Please let me  know its kind of=20 important.






--- On Tue, 14/4/09, sri ram <pinnamaraju_sriram@yahoo.co.in>=20 wrote:


From: sri ram=20 <pinnamaraju_sriram@yahoo.co.in>
Subject: Re: = Getting the=20 Content Lenth of The SOAP Response
To: axis-user@ws.apache.org
Date: Tuesday,=20 14 April, 2009, 5:59 PM

Can = someone=20 immediately reply for this query.If needed I can = provide=20
necessary data.Its urgent.

--- On Tue, 14/4/09, sri ram = <pinnamaraju_sriram@yahoo.co.in>=20 wrote:


From: sri=20 ram <pinnamaraju_sriram@yahoo.co.in>
Subject: = Getting=20 the Content Lenth of The SOAP Response
To: = axis-user@ws.apache.org
Date:=20 Tuesday, 14 April, 2009, 3:06 = PM

Hi=20 all,
(Axis 2.14.)
In my scenario we need = a header=20 mentioning the Content Length of the SOAP=20 response
and we extend AxisServlet ,and do = the=20 super.doPost(request,response).
Can some body = let me=20 know how to extract the response size = .

Thanks,=20
Sriram=20 =

 


Connect with=20 friends all over the world. Get Yahoo! India=20 = Messenger.

 


Connect with friends all over the = world. Get Yahoo! India=20 = Messenger.

 


From Chandigarh to=20 Chennai - find friends all over India. Click=20 here.




From Chandigarh to=20 Chennai - find friends all over India. Click=20 here.

------_=_NextPart_001_01C9C345.41DB0635--