You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Suhel Rizvi <ja...@hotmail.com> on 2007/03/03 02:05:34 UTC
Axis Error Could not generate WSDL!
I am deploying an Axis (1.3) web service in Weblogic 8.1 using a wsdd file
and when I click on the link for the autogenerated wsdl I get :
Axis Error
Could not generate WSDL!
Does anybody know why this might happen.
===========================================
The wsdd file looks like :
<?xml version="1.0" encoding="UTF-8"?>
<deployment
xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"
xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance">
<service name="MyService" provider="java:RPC">
<parameter name="className" value="com.companyname.services.MyService" />
<parameter name="allowedMethods" value="*"/>
<parameter name="scope" value="Session"/>
</service>
<service name="MyOtherService" provider="java:RPC">
<parameter name="className" value="com.companyname.services.MyOtherService"
/>
<parameter name="allowedMethods" value="*"/>
<parameter name="scope" value="Session"/>
</service>
</deployment>
============================================
The actual url where the services pages with the wsdl links are shown is :
http://localhost:7001/<appname>/services
============================================
which shows a page like below in the browser where the wsdl references are
actually links which give the error mentioned above :
And now... Some Services
MyService (wsdl)
method1
method2
MyOtherService (wsdl)
method3
method4
============================================
the web.xml file amongst the other config contains :
<servlet>
<servlet-name>AxisServlet</servlet-name>
<display-name>Apache-Axis Servlet</display-name>
<servlet-class> org.apache.axis.transport.http.AxisServlet
</servlet-class>
</servlet>
<servlet>
<servlet-name>AdminServlet</servlet-name>
<display-name>Axis Admin Servlet</display-name>
<servlet-class> org.apache.axis.transport.http.AdminServlet
</servlet-class>
<load-on-startup>100</load-on-startup>
</servlet>
<servlet>
<servlet-name>SOAPMonitorService</servlet-name>
<display-name>SOAPMonitorService</display-name>
<servlet-class> org.apache.axis.monitor.SOAPMonitorService
</servlet-class>
<init-param>
<param-name>SOAPMonitorPort</param-name>
<param-value>5001</param-value>
</init-param>
<load-on-startup>100</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>AxisServlet</servlet-name>
<url-pattern>/servlet/AxisServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>AxisServlet</servlet-name>
<url-pattern>*.jws</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>AxisServlet</servlet-name>
<url-pattern>/services/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>SOAPMonitorService</servlet-name>
<url-pattern>/SOAPMonitor</url-pattern>
</servlet-mapping>
- Suhel Rizvi
_________________________________________________________________
Match.com - Click Here To Find Singles In Your Area Today!
http://match.engb.msn.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org