axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r469073 - /webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java
Date Mon, 30 Oct 2006 05:34:27 GMT
Author: dims
Date: Sun Oct 29 21:34:25 2006
New Revision: 469073

URL: http://svn.apache.org/viewvc?view=rev&rev=469073
Log:
print a warning if a binding/operation/fault is missing

Modified:
    webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java

Modified: webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java?view=diff&rev=469073&r1=469072&r2=469073
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java
(original)
+++ webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java
Sun Oct 29 21:34:25 2006
@@ -527,6 +527,13 @@
                     AddQNameReference(faultMessage, wsdl4jFault.getMessage());
 
                 }
+                Iterator iterator = operation.getFaultMessages().iterator();
+                while(iterator.hasNext()){
+                    AxisMessage faultMessage = (AxisMessage) iterator.next();
+                    if(faultMessage.getElementQName() == null) {
+                        log.warn("Unable to find a wsdl:binding/wsdl:operation/wsdl:fault
for fault named " + faultMessage.getName() + " defined in wsdl:portType/wsdl:operation/@name="
+ operation.getName().getLocalPart());
+                    }
+                }
             }
 
         }



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