axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hemap...@apache.org
Subject svn commit: r208712 - /webservices/axis/trunk/java/modules/core/src/org/apache/axis/receivers/RawXMLINOutMessageReceiver.java
Date Fri, 01 Jul 2005 05:00:22 GMT
Author: hemapani
Date: Thu Jun 30 22:00:20 2005
New Revision: 208712

URL: http://svn.apache.org/viewcvs?rev=208712&view=rev
Log:
fix a error in raw XML Receiver

Modified:
    webservices/axis/trunk/java/modules/core/src/org/apache/axis/receivers/RawXMLINOutMessageReceiver.java

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis/receivers/RawXMLINOutMessageReceiver.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/receivers/RawXMLINOutMessageReceiver.java?rev=208712&r1=208711&r2=208712&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/receivers/RawXMLINOutMessageReceiver.java
(original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/receivers/RawXMLINOutMessageReceiver.java
Thu Jun 30 22:00:20 2005
@@ -119,8 +119,9 @@
                 }
 
                 SOAPEnvelope envelope = getSOAPFactory().getDefaultEnvelope();
-
-                envelope.getBody().addChild(bodyContent);
+                if(bodyContent!= null){
+                    envelope.getBody().addChild(bodyContent);
+                }
                 newmsgContext.setEnvelope(envelope);
             } else {
                 throw new AxisFault(



Mime
View raw message