axis-java-dev mailing list archives

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

URL: http://svn.apache.org/viewvc?view=rev&rev=448919
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=448919&r1=448918&r2=448919
==============================================================================
--- 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:27:51 2006
@@ -562,7 +562,7 @@
                         //the list and add it - the name for this is just the
                         inMessage.setElementQName((QName) resolvedRpcWrappedElementMap.get(wsdl4jOperation.getName()));
 
-                    } else {
+                    } else if(wsdl4jMessage != null) {
                         //pick the first part from the list and take that as the relevant
part
                         //it is somewhat questionnable 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