Re: [Soaplab2-dev] [Soaplab-users] Visibility of individual services and their WSDL
Brought to you by:
marsenger
From: Mahmut U. <ul...@eb...> - 2008-07-18 11:22:07
|
Hi Tom, > With the current version of soaplab2, it is not possible to access the > individual services and their WSDL? I see you can view something at: > > http://<url>/soaplab2/services > > but is it possible to access/specify/deploy WSDL for each individual > soaplab2 service? It is possible to access WSDL files for individual services by specifying the service name on the URL, for example in my local host I can reach seqret's WSDL file using the following URL. http://localhost:8080/soaplab2/services/edit.seqret?wsdl Soaplab2 web applications (using the default jaxws option) has 2 WSDL files shared by all applications/services, both WSDL files can be found under the WEB-INF/wsdl directory in your soaplab2 web application folder. You shouldn't normally change these 2 wsdl files. However you can for example add documentation as the current version unfortunately doesn't have any documentation. If you really want to have a separate WSDL file for one of your services you can copy the Analysis.wsdl file and make your application specific changes on it (should normally be limited to documentation changes, or in the extreme cases you might disable some of the less used methods). You should also update web.xml and sun-jaxws.xml files (found in the WEB-INF folder) to set an endpoint for your service and let jaxws know your new wsdl file. Regards, Mahmut |