axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jose M Medina V <jose_med...@wesamconsulting.com>
Subject Re: Axis2c and deflate_module
Date Wed, 09 Nov 2011 15:53:46 GMT
We don’t compress the HTTP header.

The http header coming well to http server, only the soap message is compressed, and we receive
the error that I mention bellow.

So we want that apache http server decompress the soap message before pass to mod_axis2.

Regards,

On Nov 9, 2011, at 10:39 AM, Amir Mousavizadegan wrote:

> You can not zip HTTP   headers.
> ----- Original Message -----
> From: Jose M Medina V
> To: Apache AXIS C User List
> Sent: Wednesday, November 09, 2011 8:48 AM
> Subject: Re: Axis2c and deflate_module
> 
> Hi Josef.
> 
> First, tanks for you response!!!
> 
> As you say is a nice coincidence that your brother live in Venezuela and our names are
very similar. Isla Margarita is a very nice place to live and I hope that you have an opportunity
to go there.
> 
> Returning to your question I thing the most approach answers is the option a. Basically
we want to reduce the size of the xml use to transmit information over the network, so we
activate deflate_module in apache server and all the answer of the server are zipped very
well, but when I receive a request with the xml zipped we get an HTTP 500 error code and in
the axis.log file I get the following:
> 
> -- SEVERITY_ERROR
> [Tue Nov  8 11:41:40 2011] [error] libxml2_reader_wrapper.c(464)  error occurred in reading
xml stream
> [Tue Nov  8 11:41:40 2011] [critical] soap_builder.c(887) SOAP message does not have
a SOAP envelope element
> [Tue Nov  8 11:41:41 2011] [debug] apache2_worker.c(238) http://192.168.194.15:8081/axis2/services
> [Tue Nov  8 11:41:41 2011] [debug] apache2_worker.c(280) Client HTTP version HTTP/1.1
> [Tue Nov  8 11:41:41 2011] [error] libxml2_reader_wrapper.c(990) Document is empty
> 
> Regards,
> 
> On Nov 9, 2011, at 4:01 AM, Stadelmann Josef wrote:
> 
>> Hi José
>> I would really read about MTOM and SwA first,
>> if you have not already done so take: http://axis.apache.org/axis2/java/core/docs/mtom-guide.html
>> My name is José too, and I live in Switzerland, while my brother Paul lives in Venezuela
/ Isla Margarita / Juan Griego.
>> A SOAP Message has an Envelop which has a Header-Part and a Body-Part.
>> The Header as well as the Body is a made of <xml-tags>with  values</xml-tags>
(you know that).
>> The question is: what do you like to compress.
>> a)     The full body-part as a whole
>> b)    <xml-tag-1>compressed-data-1-is-here</xml-tag-1>
>> c)     <xml-tag-2>reference to a compressed binary attachment is here</xml-tag-2>
>> Depending on what you need and want the approach might be different. If that does
not help a bit, lets discuses again
>> Josef
>> Von: Jose M Medina V [mailto:jose_medina@wesamconsulting.com] 
>> Gesendet: Dienstag, 8. November 2011 19:01
>> An: Apache AXIS C User List
>> Betreff: Axis2c and deflate_module
>> Hi All.
>> I am wondering, if it possible that Axis2c receive a soap message compressed and
the result of the service are compresses as well.
>> The idea is to use httpd, mod_deflate to do that.
>> I do the configuration in the httpd.conf, and the server respond in compressed mode,
but I can’t configure to receive the info compressed.
>> Thank in advance.
>> P.D: Sorry for my bad English
>> ------------------------------------------------------------
>> José M. Medina V.
>> Wesam Consulting
>> jose_medina@wesamconsulting.com
>> Mobile: +58(416)613-3302 +58(414)019-0580
>> Ofc:     +58(212)959-4155 Ext. 204
>> BB pin: 21EEDDB5
>> Caracas - Venezuela
>> 
>> 
>> 
>> 
> 
> ------------------------------------------------------------
> José M. Medina V.
> Wesam Consulting
> jose_medina@wesamconsulting.com
> Mobile: +58(416)613-3302 +58(414)019-0580
> Ofc:     +58(212)959-4155 Ext. 204
> BB pin: 21EEDDB5
> Caracas - Venezuela
> 
> 
> 
> 
> 
> 
> 
> 
> 

------------------------------------------------------------
José M. Medina V.
Wesam Consulting
jose_medina@wesamconsulting.com
Mobile: +58(416)613-3302 +58(414)019-0580
Ofc:     +58(212)959-4155 Ext. 204
BB pin: 21EEDDB5
Caracas - Venezuela









Mime
View raw message