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 sjtirtha <sj...@gmail.com> on 2007/08/20 13:14:53 UTC

Transfer-Encoding: chunked in axis 1.3

Hi,

how can I deactivate "Transfer-Encoding: chunked" in Axis 1.3 ?
I get always response message with "Transfer-Encoding: chunked" in header.
And my ws client can not parse this response message.

Steve

Re: Transfer-Encoding: chunked in axis 1.3

Posted by Pushkar Bodas <pu...@gs.com>.
Hi,

Do you create some stub to consume the webservice?
The code which Felipe gave, or :

<Operation
client>.getOptions().setProperty(org.apache.axis2.transport.http.HTTPConstants.CHUNKED,
Boolean.FALSE); 


in the stub does help setting the Transfer Encoding to be false and solves
the problem between HTTP 1.1 and 1.0.

Thanks 
Pushkar 


sjtirtha wrote:
> 
> You mean by this code.
> That I write this in the client program. but I don't have any access to
> the
> client source code.
> 
> Can I just deactivate this function in axis ?
> I found this mail: http://marc.info/?l=axis-user&m=118658006608827&w=2
> 
> It seems to be the solution for my problem. But I don't find, how to set
> my
> Servlet Container to use only HTTP 1.0
> 
> Steve
> 
> 
> On 8/20/07, DOMINGUEZ Felipe <Fe...@eurocontrol.int> wrote:
>>
>>  try with this code.
>>
>> cheers
>>
>> Felipe
>>
>> Options options = new Options();
>> options.setProperty(HTTPConstants.CHUNKED,false);
>>
>> serviceClient.setOptions(options);
>>
>>  ------------------------------
>> *From:* sjtirtha [mailto:sjtirtha@gmail.com]
>> *Sent:* Monday 20 August 2007 13:27
>> *To:* axis-user@ws.apache.org
>> *Subject:* Re: Transfer-Encoding: chunked in axis 1.3
>>
>>
>>  Thanks for the links.
>> But I use Axis 1.3. Can I also disable http chunking in Axis 1.3 ?
>>
>> Steve
>>
>>
>> On 8/20/07, Upul Godage <up...@gmail.com> wrote:
>> >
>> > http://wso2.org/library/952
>> >
>> > Hope this helps.
>> >
>> > Upul
>> >
>> >
>> > On 8/20/07, sjtirtha < sjtirtha@gmail.com> wrote:
>> > >
>> > > Hi,
>> > >
>> > > how can I deactivate "Transfer-Encoding: chunked" in Axis 1.3 ?
>> > > I get always response message with "Transfer-Encoding: chunked" in
>> > > header. And my ws client can not parse this response message.
>> > >
>> > > Steve
>> > >
>> >
>> >
>> ____
>>
>> This message and any files transmitted with it are legally privileged and
>> intended for the sole use of the individual(s) or entity to whom they are
>> addressed. If you are not the intended recipient, please notify the
>> sender by reply and delete the message and any attachments from your
>> system. Any unauthorised use or disclosure of the content of this message
>> is strictly prohibited and may be unlawful.
>>
>> Nothing in this e-mail message amounts to a contractual or legal
>> commitment on the part of EUROCONTROL, unless it is confirmed by
>> appropriately signed hard copy.
>>
>> Any views expressed in this message are those of the sender.
>>
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Transfer-Encoding%3A-chunked-in-axis-1.3-tf4298234.html#a12235531
Sent from the Axis - User mailing list archive at Nabble.com.


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


Re: Transfer-Encoding: chunked in axis 1.3

Posted by sjtirtha <sj...@gmail.com>.
You mean by this code.
That I write this in the client program. but I don't have any access to the
client source code.

Can I just deactivate this function in axis ?
I found this mail: http://marc.info/?l=axis-user&m=118658006608827&w=2

It seems to be the solution for my problem. But I don't find, how to set my
Servlet Container to use only HTTP 1.0

Steve


On 8/20/07, DOMINGUEZ Felipe <Fe...@eurocontrol.int> wrote:
>
>  try with this code.
>
> cheers
>
> Felipe
>
> Options options = new Options();
> options.setProperty(HTTPConstants.CHUNKED,false);
>
> serviceClient.setOptions(options);
>
>  ------------------------------
> *From:* sjtirtha [mailto:sjtirtha@gmail.com]
> *Sent:* Monday 20 August 2007 13:27
> *To:* axis-user@ws.apache.org
> *Subject:* Re: Transfer-Encoding: chunked in axis 1.3
>
>
>  Thanks for the links.
> But I use Axis 1.3. Can I also disable http chunking in Axis 1.3 ?
>
> Steve
>
>
> On 8/20/07, Upul Godage <up...@gmail.com> wrote:
> >
> > http://wso2.org/library/952
> >
> > Hope this helps.
> >
> > Upul
> >
> >
> > On 8/20/07, sjtirtha < sjtirtha@gmail.com> wrote:
> > >
> > > Hi,
> > >
> > > how can I deactivate "Transfer-Encoding: chunked" in Axis 1.3 ?
> > > I get always response message with "Transfer-Encoding: chunked" in
> > > header. And my ws client can not parse this response message.
> > >
> > > Steve
> > >
> >
> >
> ____
>
> This message and any files transmitted with it are legally privileged and intended for the sole use of the individual(s) or entity to whom they are addressed. If you are not the intended recipient, please notify the sender by reply and delete the message and any attachments from your system. Any unauthorised use or disclosure of the content of this message is strictly prohibited and may be unlawful.
>
> Nothing in this e-mail message amounts to a contractual or legal commitment on the part of EUROCONTROL, unless it is confirmed by appropriately signed hard copy.
>
> Any views expressed in this message are those of the sender.
>
>
>

RE: Transfer-Encoding: chunked in axis 1.3

Posted by DOMINGUEZ Felipe <Fe...@eurocontrol.int>.
try with this code.
 
cheers
 
Felipe
 
Options options = new Options();
options.setProperty(HTTPConstants.CHUNKED,false);   
 
serviceClient.setOptions(options);


________________________________

	From: sjtirtha [mailto:sjtirtha@gmail.com] 
	Sent: Monday 20 August 2007 13:27
	To: axis-user@ws.apache.org
	Subject: Re: Transfer-Encoding: chunked in axis 1.3
	
	
	Thanks for the links. 
	But I use Axis 1.3. Can I also disable http chunking in Axis 1.3
?
	 
	Steve
	
	 
	On 8/20/07, Upul Godage <up...@gmail.com> wrote: 

		http://wso2.org/library/952
		
		Hope this helps.
		
		Upul 
		
		
		
		
		On 8/20/07, sjtirtha < sjtirtha@gmail.com
<ma...@gmail.com> > wrote: 

			Hi,
			 
			how can I deactivate "Transfer-Encoding:
chunked" in Axis 1.3 ? 
			I get always response message with
"Transfer-Encoding: chunked" in header. And my ws client can not parse
this response message.
			 
			Steve




____

This message and any files transmitted with it are legally privileged and intended for the sole use of the individual(s) or entity to whom they are addressed. If you are not the intended recipient, please notify the sender by reply and delete the message and any attachments from your system. Any unauthorised use or disclosure of the content of this message is strictly prohibited and may be unlawful.

Nothing in this e-mail message amounts to a contractual or legal commitment on the part of EUROCONTROL, unless it is confirmed by appropriately signed hard copy.

Any views expressed in this message are those of the sender.


Re: Transfer-Encoding: chunked in axis 1.3

Posted by sjtirtha <sj...@gmail.com>.
Thanks for the links.
But I use Axis 1.3. Can I also disable http chunking in Axis 1.3 ?

Steve


On 8/20/07, Upul Godage <up...@gmail.com> wrote:
>
> http://wso2.org/library/952
>
> Hope this helps.
>
> Upul
>
>
> On 8/20/07, sjtirtha < sjtirtha@gmail.com> wrote:
> >
> > Hi,
> >
> > how can I deactivate "Transfer-Encoding: chunked" in Axis 1.3 ?
> > I get always response message with "Transfer-Encoding: chunked" in
> > header. And my ws client can not parse this response message.
> >
> > Steve
> >
>
>

Re: Transfer-Encoding: chunked in axis 1.3

Posted by Upul Godage <up...@gmail.com>.
http://wso2.org/library/952

Hope this helps.

Upul


On 8/20/07, sjtirtha <sj...@gmail.com> wrote:
>
> Hi,
>
> how can I deactivate "Transfer-Encoding: chunked" in Axis 1.3 ?
> I get always response message with "Transfer-Encoding: chunked" in header.
> And my ws client can not parse this response message.
>
> Steve
>