This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Anyone having any idea about deployment descriptors, it would be so nice if anyone of me having any idea can give me some directions about how to create deployment descriptors.
Joined: Dec 05, 2008
I got the following information from the IBM website
Developing a webservices.xml deployment descriptor for JAX-WS applications
Deployment descriptors are standard text files, formatted using XML and packaged in a Web services application. You can optionally use the webservices.xml deployment descriptor to augment or override application metadata specified in annotations within Java API for XML-Based Web Services (JAX-WS) Web services.
About this task
Similar to Java API for XML-based RPC (JAX-RPC) Web services, you can use deployment descriptors to describe JAX-WS Web services. For JAX-WS Web services, the use of the webservices.xml deployment descriptor is optional because you can use annotations to specify all of the information that is contained within the deployment descriptor file. You can use the deployment descriptor file to augment or override existing JAX-WS annotations. Any information that you define in the webservices.xml deployment descriptor overrides any corresponding information that is specified by annotations.
I am glad, because I am using JAX-WS annotations in my java code. So I think, I do not need to use the webservices.xml deployment descriptors.
I have deployed the WAR file after removing the webservices.xml file from .WAR file. I am able to start the instance on the websphere console.
But I am not able to generate/access the URL for the webservice.