I have my wsdl in the root of classes in my web xml.. I changed wsdlFile="/MyService.wsdl" to <wsdlFile>/MyService.wsdl</wsdlFile>
and it deploys the wsdl except for the change to the service when I deploy to different servers, which yes could be usefull, but I would rather that it did not at the moment. Thanks matt --- Richard Gregory <[EMAIL PROTECTED]> wrote: > Hi Anne, > > No problem. I'll write it up. > > On the subject of the service address in the hand > written wsdl being > changed by axis, I asked about this previously on > the list, and one of > the other users said he thought this was a feature > of axis (and in his > case a useful one). Can you confirm whether this is > indeed a feature of > axis rather than a bug? If it's a bug, I'll submit a > Jira bug report, > and if it's a feature I'll submit a request for a > change to allow > developers to be able to specify whether or not they > want axis to change > the address. > > Thanks, > > Richard. > > Anne Thomas Manes wrote: > > > Richard, > > > > Would you be willing to write this up for the Wiki > please? > > > > Thanks, > > Anne > > > > On 11/7/05, *Richard Gregory* > <[EMAIL PROTECTED] > > <mailto:[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 > > <http://www.myco.com/webservices/MyService> > > > > axis will change my hand written wsdl and > replace the > > "www.myco.com <http://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 > > > > > > > > > > > > > > > /* ************************************** Matthew Hannay (B.Inf t, B.eng.se) Ph: 0409046619. SSH ANGUS (IDENT: DQH) "Ben Braggie" 239 Yarrowlea Road, Pinkett, Glen Innes, NSW, 2370. Ssh! Where Breeding the Future is no Secret. http://www.sshangus.com.au/ * ************************************* */ ____________________________________________________ Do you Yahoo!? Find a local business fast with Yahoo! Local Search http://au.local.yahoo.com
