Author: gdaniels
Date: Mon Apr 24 09:15:24 2006
New Revision: 396597
URL: http://svn.apache.org/viewcvs?rev=396597&view=rev
Log:
Ensure default SOAPEnvelope has a valid parent (Synapse's XPath mediator needs
this)
Modified:
webservices/commons/trunk/modules/axiom/src/org/apache/axiom/soap/impl/llom/soap11/SOAP11Factory.java
Modified:
webservices/commons/trunk/modules/axiom/src/org/apache/axiom/soap/impl/llom/soap11/SOAP11Factory.java
URL:
http://svn.apache.org/viewcvs/webservices/commons/trunk/modules/axiom/src/org/apache/axiom/soap/impl/llom/soap11/SOAP11Factory.java?rev=396597&r1=396596&r2=396597&view=diff
==============================================================================
---
webservices/commons/trunk/modules/axiom/src/org/apache/axiom/soap/impl/llom/soap11/SOAP11Factory.java
(original)
+++
webservices/commons/trunk/modules/axiom/src/org/apache/axiom/soap/impl/llom/soap11/SOAP11Factory.java
Mon Apr 24 09:15:24 2006
@@ -272,6 +272,8 @@
SOAPEnvelopeImpl env = new SOAPEnvelopeImpl(ns, this);
createSOAPHeader(env);
createSOAPBody(env);
+ SOAPMessageImpl msg = new SOAPMessageImpl();
+ msg.setSOAPEnvelope(env);
return env;
}