Hi,
I am beginning to learn jax-ws web services. I have got a hang of the annotations to use, how to create a webservice. however i am very confused regarding the artifacts required for successful web service deployment as a war file.
According to this
http://jax-ws.java.net/nonav/2.2.1/docs/UsersGuide.html#3.1.1.2_Create_a_WAR_file_to_deploy that i have been following the following artifacts are required:
WEB-INF/sun-jaxws.xml
WEB-INF/web.xml
and I was able to deploy a webservice successfully using the above advice.
However there have been certain books, which mentions that sun-jaxws or web.xml file are redundant. We can simply run wsgen on
java code, package the wsdl and deploy it as a war.
However my attempt to do the same has resulted in an error in web logic server. The error being:
javax.xml.ws.WebServiceException: Runtime descriptor "/WEB-INF/sun-jaxws.xml" is mising
My question is what are the exact files required for deployment on web service in a war.
And i would also appreciate if it can be elaborated what entries are required on these files.