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 Mark_Huang <mh...@yahoo.com> on 2009/10/16 20:18:52 UTC
Help -- Not in GZIP format
1. Server side: I developed a web service using Axis2 and deployed in JBoss.
2. Client side: I tried to send a big XML file to this web service using
MTOM mechanism
2.1. If I don't set MC_GZIP_REQUEST at client side, every thing works fine
2.2. If I set org.apache.axis2.transport.http.HTTPConstants.MC_GZIP_REQUEST
to TRUE, I got "Not in GZIP format".
As the file is very big and I want to zip it before sending to the Web
Service. It seems MC_GZIP_REQUEST is the one needed for my scenario.
Do I miss any configuration for AXIS2 GZIP feature?
Any help is greatly appreciated,
Mark
--
View this message in context: http://www.nabble.com/Help----Not-in-GZIP-format-tp25930026p25930026.html
Sent from the Axis - User mailing list archive at Nabble.com.
Re: Help -- Not in GZIP format
Posted by Mark_Huang <mh...@yahoo.com>.
Any suggestion?
Thanks,
Mark_Huang wrote:
>
>
> 1. Server side: I developed a web service using Axis2 and deployed in
> JBoss.
>
> 2. Client side: I tried to send a big XML file to this web service using
> MTOM mechanism
>
> 2.1. If I don't set MC_GZIP_REQUEST at client side, every thing works fine
>
> 2.2. If I set
> org.apache.axis2.transport.http.HTTPConstants.MC_GZIP_REQUEST to TRUE, I
> got "Not in GZIP format".
>
> As the file is very big and I want to zip it before sending to the Web
> Service. It seems MC_GZIP_REQUEST is the one needed for my scenario.
>
> Do I miss any configuration for AXIS2 GZIP feature?
>
> Any help is greatly appreciated,
>
> Mark
>
>
>
>
--
View this message in context: http://www.nabble.com/Help----Not-in-GZIP-format-tp25930026p25939023.html
Sent from the Axis - User mailing list archive at Nabble.com.