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 "Ghershony, Arie" <Ar...@GDC4S.Com> on 2003/01/24 19:41:36 UTC

RE: How to Override '?WSDL' to generate WSDL file and How to get web service list from Client?

There is no file getQuote.wsdl. 

-----Original Message-----
From: Ma, Yongjie [mailto:Yongjie.Ma@ca.com]
Sent: Friday, January 24, 2003 12:22 PM
To: axis-user@xml.apache.org; wes@devauld.ca
Cc: jgreif@alumni.princeton.edu
Subject: RE: How to Override '?WSDL' to generate WSDL file and How to
get web service list from Client?


I still did not get it.

I played it using
CATALINA_HOME/webapps/axis/WEB-WEBINF/classes/samples/stock example, 
and I put GetQuote.wsdl in same directory too. 

In the deploy.wsdd, I defined:

<service name="urn:xmltoday-deployed-quotes" provider="java:RPC">
   <wsdlFile>full_path_to_wsdl_file</wsdlFile>
   .....
</service>

After deployment, I can get custom wsdl file successfully from ?wsdl.

But when I tried to use relative path, I always get exception which said 
"Fault - java.io.FileNotFoundException: GetQuote.wsdl (No such file or
directory) "

In this case, deploy.wsdd looks like:
<service name="urn:xmltoday-deployed-quotes" provider="java:RPC">
   <wsdlFile>relative_path_to_wsdl_file</wsdlFile>
   .....
</service>

So could you pls tell me what relatvie_path_to_wsdl_file I should use????

Thanks
Jack



-----Original Message-----
From: Wes Devauld [mailto:wes@devauld.ca]
Sent: Friday, January 24, 2003 6:34 AM
To: axis-user@xml.apache.org
Cc: jgreif@alumni.princeton.edu
Subject: Re: How to Override '?WSDL' to generate WSDL file and How to
get web service list from Client?


Classpath for the particular service running in Tomcat.  You can place it in
service/WEB-INF/classes for instance, or within a jar in the lib directory.




> Does this mean relative to the classpath at the time the service is


> deployed into axis using AdminClient on a wsdd file, or some classpath


> that exists inside Tomcat or whatever contains Axis?


>


> Jeff


> ----- Original Message -----


> From: "Wes Devauld" <we...@devauld.ca>


> To: <ax...@xml.apache.org>


> Cc: <Yo...@ca.com>


> Sent: Tuesday, January 21, 2003 3:01 PM


> Subject: Re: How to Override '?WSDL' to generate WSDL file and How to


> get web service list from Client?


>


>


>> There is a wsdlFile attribute which can be placed into the <service>


>> tag that specifies a path to a WSDL file which should (fingers


>> crossed) load with serviceName?wsdl.  The file location is relative to


>> your classpath.