生成的WSDL文件在哪里

生成的WSDL文件在哪里

本文介绍了生成的WSDL文件在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这些天来,我对Web服务和Jax-WS Web服务学习还是陌生的.我创建了一个小的Web服务,并将其托管在Tomcat服务器中.我首先创建了Web服务类并生成了WSDL.我已经使用eclipse IDE创建了项目.

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.

当我们首先创建Web服务类并尝试使用该类来生成WSDL时,所生成的WSDL文件位于何处?

When we create the web service class first and try to generate the WSDL using the class where is the generated WSDL file located?

我想知道文件是在部署时生成的,还是生成后在WAR文件中的确切位置?

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

推荐答案

如果要检查Web服务的运行状态

If you want to check webservice running status

http://localhost:8080/<Your project name>/services/<Webservice class name>

找到wsdl文件

http://localhost:8080/<Your project name>/services/<Webservice class name>?wsdl

这篇关于生成的WSDL文件在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-25 00:41