axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ma, Yongjie" <Yongjie...@ca.com>
Subject RE: How to Override '?WSDL' to generate WSDL file and How to get web service list from Client?
Date Fri, 24 Jan 2003 19:08:08 GMT
I tried it before, it didn't work.

-----Original Message-----
From: Vidyanand Murunikkara [mailto:Vidyanand@infravio.com]
Sent: Friday, January 24, 2003 11:00 AM
To: axis-user@xml.apache.org
Subject: RE: How to Override '?WSDL' to generate WSDL file and How to
get web service list from Client?


try placing the wsdl in WEB-INF/classes and setting
<wsdlFile>/GetQuote.wsdl</wsdlFile>

Vidyanand

-----Original Message-----
From: Ma, Yongjie [mailto:Yongjie.Ma@ca.com]
Sent: Friday, January 24, 2003 10:52 AM
To: axis-user@xml.apache.org
Subject: RE: How to Override '?WSDL' to generate WSDL file and How to
get web service list from Client?


This file was created by myself. I want to override automatically
generate wsdl feature.

-----Original Message-----
From: Ghershony, Arie [mailto:Arie.Ghershony@GDC4S.Com]
Sent: Friday, January 24, 2003 10:42 AM
To: 'axis-user@xml.apache.org'
Subject: 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" <wes@devauld.ca>


> To: <axis-user@xml.apache.org>


> Cc: <Yongjie.Ma@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.






Mime
View raw message