Socram
Socram

Reputation: 165

JBossWS change wsdl url

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 need to change the some_default_name part of the URL.

Any suggestions? :)

Upvotes: 1

Views: 1080

Answers (1)

Georgy Bolyuba
Georgy Bolyuba

Reputation: 8511

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.

Upvotes: 2

Related Questions