You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by ge...@ws.apache.org on 2005/01/12 04:05:50 UTC
[Apache Web Services Wiki] New: FrontPage/Axis/WsdlFile
Date: 2005-01-11T19:05:50
Editor: ToshiyukiKimura
Wiki: Apache Web Services Wiki
Page: FrontPage/Axis/WsdlFile
URL: http://wiki.apache.org/ws/FrontPage/Axis/WsdlFile
Importing old wiki ...
New Page:
##language:en
'''Q: How do I manually supply WSDL instead of returning automatically generated WSDL?'''
A: In your WSDD file, you can specify the location of a WSDL file.
{{{
<service name="Test" provider="java:RPC" >
...
< wsdlFile>/org/someone/res/mywsdl.wsdl</wsdlFile>
...
</service>
}}}
Axis will first look for a file of that name on the local path, then for a resource of that name on the classpath.
Also see the article: Configure Axis Web Services: Return prewritten WSDL from an AXIS Web service by Kevin Jones