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
This e-mail and any files transmitted with it are confidential and may be 
protected by legal privilege. If you are not the intended recipient, please 
notify the sender and delete the e-mail from your system. This e-mail has been 
scanned for malicious content but the internet is inherently insecure and EDF 
Energy plc cannot accept any liability for the integrity of this message or its 
attachments. No employee or agent of EDF Energy plc or any related company is 
authorised to conclude any binding agreement on behalf of EDF Energy plc or any 
related company by e-mail. 
All e-mails sent and received by EDF Energy plc are monitored to ensure 
compliance with the company's information security policy.  Executable and 
script files are not permitted through the EDF Energy plc mail gateway.  EDF 
Energy does not accept or send mails above 30 Mb in size.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to