axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r452693 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java
Date Wed, 04 Oct 2006 02:22:13 GMT
Author: dims
Date: Tue Oct  3 19:22:13 2006
New Revision: 452693

URL: http://svn.apache.org/viewvc?view=rev&rev=452693
Log:
Fix for  AXIS2-1294 - Error during code generation

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=452693&r1=452692&r2=452693
==============================================================================
--- 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
Tue Oct  3 19:22:13 2006
@@ -511,7 +511,7 @@
                             .get(faultMapKey);
                     Fault wsdl4jFault = wsdl4jOperation.getFault(bindingFault
                             .getName());
-                    if (wsdl4jFault == null) {
+                    if (wsdl4jFault == null || wsdl4jFault.getMessage().getParts().size()==0)
{
                         throw new AxisFault("fault \"" + bindingFault.getName()
                                 + "\" not found in the Operation "
                                 + wsdl4jOperation.getName());



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