Richard,

Would you be willing to write this up for the Wiki please?

Thanks,
Anne

On 11/7/05, Richard Gregory <[EMAIL PROTECTED]> wrote:
Hi Matt,

You need to specify the wsdl as follows in the wsdd

<wsdlFile>/MyService.wsdl</wsdlFile>

and then if the wsdl file is in the WEB-INF/classes folder axis should
return it instead of the  auto generated wsdl.

The one problem I've found is that axis will change the service address
in the hand written wsdl. For example, if I have a service at

http://www.myco.com/webservices/MyService

axis will change my hand written wsdl and replace the "www.myco.com"
with the name of the machine on our network that the service is deployed
on and the port number, i.e.

http://machine_name:8080/webservices/MyService

Of course, the machine name is means nothing to clients outside our
network, so any clients generated from the wsdl will have to be edited
to put the correct address back in order to invoke the service.

Hope this helps you.

Richard.

Matthew Hannay wrote:

>When I go to my browser and enter the following
>
> http://mywebserver/webservices/MyService?wsdl
>
>I always seem to get the auto generated WSDL and
>not my hand written WSDL.
>
>I have put:
>
>wsdlFile="/MyService.wsdl"
>
>in the wsdd service
>and include the wsdl in my war that gets deployed.
>
>Can anyone deploy their hand written WSDL?
>
>Matt
>
>
>
>____________________________________________________
>Do you Yahoo!?
>Find a local business fast with Yahoo! Local Search
>http://au.local.yahoo.com
>
>
>


Reply via email to