You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by du...@apache.org on 2007/07/27 13:21:33 UTC

svn commit: r560196 - /webservices/axis2/scratch/c/dumindu/c/axiom/src/soap/soap_builder.c

Author: dumindu
Date: Fri Jul 27 04:21:31 2007
New Revision: 560196

URL: http://svn.apache.org/viewvc?view=rev&rev=560196
Log:
Freeing the xop:Include node after MTOM processing is done


Modified:
    webservices/axis2/scratch/c/dumindu/c/axiom/src/soap/soap_builder.c

Modified: webservices/axis2/scratch/c/dumindu/c/axiom/src/soap/soap_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/dumindu/c/axiom/src/soap/soap_builder.c?view=diff&rev=560196&r1=560195&r2=560196
==============================================================================
--- webservices/axis2/scratch/c/dumindu/c/axiom/src/soap/soap_builder.c (original)
+++ webservices/axis2/scratch/c/dumindu/c/axiom/src/soap/soap_builder.c Fri Jul 27 04:21:31 2007
@@ -432,10 +432,15 @@
                                                         data_handler, &data_om_node);
                                         axiom_text_set_optimize(data_text, env,
                                                                 AXIS2_FALSE);
-
+                                        
+                                        /*remove the <xop:Include> element*/
                                         axiom_node_detach(om_element_node, env);
+                                        axiom_node_detach(data_om_node, env);
+                                        axiom_node_free_tree(om_element_node, env);
                                         axiom_node_add_child(parent, env,
                                                 data_om_node);
+                                        
+
                                     }
                                 }
                             }



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