axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r438453 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/receivers/RawXMLINOutAsyncMessageReceiver.java
Date Wed, 30 Aug 2006 10:44:26 GMT
Author: deepal
Date: Wed Aug 30 03:44:25 2006
New Revision: 438453

URL: http://svn.apache.org/viewvc?rev=438453&view=rev
Log:
fixing AXIS2-1027

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/receivers/RawXMLINOutAsyncMessageReceiver.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/receivers/RawXMLINOutAsyncMessageReceiver.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/receivers/RawXMLINOutAsyncMessageReceiver.java?rev=438453&r1=438452&r2=438453&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/receivers/RawXMLINOutAsyncMessageReceiver.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/receivers/RawXMLINOutAsyncMessageReceiver.java
Wed Aug 30 03:44:25 2006
@@ -86,8 +86,11 @@
 
                 AxisService service = msgContext.getAxisService();
                 service.getTargetNamespace();
-                result.declareNamespace(service.getTargetNamespace(),
-                        service.getTargetNamespacePrefix());
+                if (result != null) {
+                    result.declareNamespace(service.getTargetNamespace(),
+                            service.getTargetNamespacePrefix());
+                }
+
                 OMElement bodyContent;
 
                 SOAPFactory fac = getSOAPFactory(msgContext);



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


Mime
View raw message