Dilan
Dilan

Reputation: 1449

Where is the generated WSDL file located?

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...

Upvotes: 2

Views: 15686

Answers (2)

ramp
ramp

Reputation: 1256

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.

Upvotes: 0

user4310454
user4310454

Reputation:

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

Upvotes: 2

Related Questions