You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2006/09/26 23:27:20 UTC
svn commit: r450217 -
/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService.java
Author: dims
Date: Tue Sep 26 14:27:20 2006
New Revision: 450217
URL: http://svn.apache.org/viewvc?view=rev&rev=450217
Log:
better error message when the wsdl goes awol
Modified:
webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService.java
Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService.java?view=diff&rev=450217&r1=450216&r2=450217
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService.java Tue Sep 26 14:27:20 2006
@@ -663,8 +663,11 @@
try {
String wsdlntfound = "<error>" +
"<description>Unable to generate WSDL for this service</description>" +
- "<reason>Either user has not dropped the wsdl into META-INF or" +
- " operations use message receivers other than RPC.</reason>" +
+ "<reason>If you wish Axis2 to automatically generate the WSDL, then please use one of the RPC message " +
+ "receivers for the service(s)/operation(s) in services.xml. If you have added a custom WSDL in the " +
+ "META-INF directory, then please make sure that make sure that the name of the service in services.xml " +
+ "(/serviceGroup/service/@name) is the same as in the " +
+ "custom wsdl's service name (/wsdl:definitions/wsdl:service/@name). </reason>" +
"</error>";
out.write(wsdlntfound.getBytes());
out.flush();
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org