This content has been marked as final.
Show 1 reply
-
1. Re: 404 error when WS deployed in EAR
juanm_med Sep 14, 2007 11:08 PM (in response to isotope1145)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