开发者

JBossWS change wsdl url

开发者 https://www.devze.com 2023-01-07 15:01 出处:网络
I have a web application deployed on JBoss 5.1.0 with a couple of webservices. When i use the JBossWS console to see the registered service endpoints, all my webservices follow the same URL pattern:

I have a web application deployed on JBoss 5.1.0 with a couple of webservices.

When i use the JBossWS console to see the registered service endpoints, all my webservices follow the same URL pattern:

http://my_machine:8080/some_default_name/webservice_name?wsdl

The problem is that i nee开发者_如何学Cd to change the some_default_name part of the URL.

Any suggestions? :)


I think what you call some_default_name is the of your web-app context. The simple way to change it is to rename your war (should be /server//deploy/some_default_name.war).

Jboss uses Tomcat as web container. You can configure path on Context element to change your context name as well.

0

精彩评论

暂无评论...
验证码 换一张
取 消