Title: wsdlFile not working
Wendy,
 
The article you referenced about the location of user-written WSDL states that it is typically placed in the WEB-INF/classes directory, not the WEB-INF directory.
-----Original Message-----
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Friday, August 01, 2003 1:39 PM
To: '[EMAIL PROTECTED]'
Subject: wsdlFile not working


I'm trying to use the <wsdlFile> tag in my WSDD, but it's not working:

subscription.wsdd:

<deployment xmlns="http://xml.apache.org/axis/wsdd/"
            xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
   <service name="MySubscriptionService" provider="java:RPC" style="wrapped" use="literal">
      <parameter name="className" value="edu.asu.vpia.webauth.MySubscriptionService"/>
      <parameter name="allowedMethods" value="subscribe"/>
      <wsdlFile>/webauth.wsdl</wsdlFile>
   </service>
</deployment>

Deployed (on Win2000 with Axis running as the 'svcdev' context under Tomcat 4.1.24):
> java org.apache.axis.client.AdminClient -lhttp://localhost/svcdev/servlet/AxisServlet src\wsdd\subscription.wsdd

I can then see the service listed at http://localhost/svcdev/servlet/AxisServlet as "MySubscriptionService (wsdl)" but if I click on the 'wsdl' link, I get "HTTP 500 - Internal server error".

'webauth.wsdl' file is placed directly under WEB-INF as suggested in this article:
http://www.ftponline.com/javapro/2003_02/online/WSDL_kjones_02_27_03/default_pf.asp

Thanks for any ideas,

--
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University, PA, IRM

Reply via email to