Hi Jose

I had a very similar problem with mod_log. 
The problem there was, that Axis unpacks the elements only, when they are used. 
In certain cases it can happen, that the unpacking is not complete when the 
additional processing modules (like mod_log - probably also mod_deflate) are 
called. 
Mod logging had the effect, to go through the node list without using the same 
parsing mechanisms and so it "deleted" the rest of the nodes without storing 
them into the return-node-list.

My change in mod_log was:

     if (soap_envelope)
     {
-        /* ensure SOAP buider state is in sync */
+        /* ensure SOAP buider state is in sync and fully loaded*/
         axiom_soap_envelope_get_body(soap_envelope, env);
+
+        struct axiom_soap_builder *soap_builder = 
axiom_soap_envelope_get_soap_builder(soap_envelope, env);
+        axiom_node_t* base_node = 
axiom_soap_envelope_get_base_node(soap_envelope, env);
+
+        if (soap_builder && base_node)
+        {
+           while(!axiom_node_is_complete(base_node, env))
+           {
+              if (axiom_soap_builder_next(soap_builder, env)==AXIS2_FAILURE)
+              {
+                   break;
+              }
+           }
+        }
         ret_node = axiom_soap_envelope_get_base_node(soap_envelope, env);

Maybe that helps you.

Regards
Res
--
Swiss Life
Andreas Völlmy
General-Guisan-Quai 40
Postfach, 8022 Zürich
Schweiz
T 043 284 79 59
F 043 338 79 59
andreas.voel...@swisslife.ch
www.swisslife.ch
 

-----Ursprüngliche Nachricht-----
Von: Jose M Medina V [mailto:jose.med...@wesamconsulting.com] 
Gesendet: Sonntag, 2. März 2014 14:39
An: Apache AXIS C User List
Betreff: Guththila and mod_deflate

I'm trying use guththila and mod_deflate in apache and I having the following 
problem.

When the xml is big, guththila is not completing the parsing, so I retrieving 
an incomplete information in my service.

Anybody has this problem or any idea on how can I resolve?

Any help is very appreciated.

Regards,

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




---------------------------------------------------------------------
To unsubscribe, e-mail: c-user-unsubscr...@axis.apache.org
For additional commands, e-mail: c-user-h...@axis.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: c-user-unsubscr...@axis.apache.org
For additional commands, e-mail: c-user-h...@axis.apache.org

Reply via email to