I am new to web services and studing Jax-WS web services these days. I created a little web service and hosted it in Tomcat server. I have first created the web service classes and generated the WSDL. I have created the project using eclipse IDE.
When we create the web service class first and try to generate the WSDL using the class where is the generated WSDL file located?
I want to know whether the file is generated at the deployment time or is it located in exact place in the WAR file after generating ????
Can anybody please help me to clarify this...
If you want to check webservice running status
http://localhost:8080/<Your project name>/services/<Webservice class name>
To locate wsdl file
http://localhost:8080/<Your project name>/services/<Webservice class name>?wsdl
It really depends on your jax-ws provider. For example if you are using the jwsc ant task or tool that is used by weblogic, the wsdl is generated when the web service is deployed (http://docs.oracle.com/cd/E14571_01/web.1111/e13750/anttasks.htm#WSREF126)
If you are using the reference implementation, then you can specify that the wsdl be generated at compile time using the 'genwsdl' switch. The wsdl itself will be generated at the location specified in the 'resourcedestdir' attribute.