axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r448920 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java
Date Fri, 22 Sep 2006 13:29:08 GMT
Author: dims
Date: Fri Sep 22 06:29:08 2006
New Revision: 448920

URL: http://svn.apache.org/viewvc?view=rev&rev=448920
Log:
prevent NPE

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java?view=diff&rev=448920&r1=448919&r2=448920
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java
Fri Sep 22 06:29:08 2006
@@ -674,7 +674,7 @@
                                 (QName) resolvedRpcWrappedElementMap.get(
                                         wsdl4jOperation.getName() + WRAPPED_OUTPUTNAME_SUFFIX));
 
-                    } else {
+                    } else if(wsdl4jMessage != null){
                         //pick the first part from the list and take that as the relevant
part
                         //it is somewhat questionable whether the first part gets picked
                         //but we'll have to take a chance here



---------------------------------------------------------------------
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