You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by th...@apache.org on 2007/02/13 09:58:13 UTC
svn commit: r506914 -
/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/TransportUtils.java
Author: thilina
Date: Tue Feb 13 00:58:09 2007
New Revision: 506914
URL: http://svn.apache.org/viewvc?view=rev&rev=506914
Log:
Reverting the factory removal from the previous commit to fix the build
break..
Modified:
webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/TransportUtils.java
Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/TransportUtils.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/TransportUtils.java?view=diff&rev=506914&r1=506913&r2=506914
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/TransportUtils.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/TransportUtils.java Tue Feb 13 00:58:09 2007
@@ -149,17 +149,16 @@
} else {
//If it is not a SOAPEnvelope we wrap that with a fake SOAPEnvelope.
SOAPFactory soapFactory = new SOAP11Factory();
-// SOAPEnvelope intermediateEnvelope
- envelope= soapFactory
+ SOAPEnvelope intermediateEnvelope= soapFactory
.getDefaultEnvelope();
- envelope.getBody().addChild(
+ intermediateEnvelope.getBody().addChild(
builder.getDocumentElement());
// We now have the message inside an envelope. However, this is
// only an OM; We need to build a SOAP model from it.
-// builder = new StAXSOAPModelBuilder(intermediateEnvelope
-// .getXMLStreamReader(), SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI);
-// envelope = (SOAPEnvelope) builder.getDocumentElement();
+ builder = new StAXSOAPModelBuilder(intermediateEnvelope
+ .getXMLStreamReader(), SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI);
+ envelope = (SOAPEnvelope) builder.getDocumentElement();
}
String charsetEncoding = builder.getCharsetEncoding();
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org