[jboss-user] [JBossWS] - Re: 404 error when WS deployed in EAR

juanm_med do-not-reply at jboss.com
Fri Sep 14 23:08:04 EDT 2007


If you have your application in production, and so you cannot change its context-root, you can also change the name of the jar file where the Web Service is located. Rememeber to update your application.xml with the new name.

This way, you can use your Web Service with the name of the jar file instead of the context of the web application.

For example, if you have an application with a context root "myApp", which coincides with the name of the jar file "myApp.jar", you can change the jar file to "myAppServices.jar" and see your WSDL as:

http://localhost:8080/myAppServices/MyService?wsdl

as your application can still be accessed as:

http://localhost:8080/myApp

Hope it helps

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084701#4084701

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084701



More information about the jboss-user mailing list