| Create a web service starting from a WSDL file using JAX-WS
       
Use wsimport tool to generate artifacts from WSDLUse external and embedded <jaxws:package>, <jaxws:enableWrapperStyle>,  <jaxws:class> customizationsUse JAXB customizations to configure mappingBuild the web service implementation using the above artifactsAccess MessageContext.SERVLET_CONTEXT from the injected @WebServiceContextConfigure deployment descriptors( web.xml, webservices.xml) for URL patterns, HTTP security, container        authorization, caller authentication, and message protection. jax-ws runtime may also be configured to perform message layer authentication and protection.Compile and package the web service into a WAR fileDeploy the web service into a Java EE servlet containerCreate a web service starting from a Java source using JAX-WS
Use @WebService to indicate a serviceUse @WebMethod, @WebMethod(exclude) to indicate service methodsUse @SOAPBinding to select doc/lit, doc/bare, rpc/lit style of web serviceUse @Oneway where the service doesn't have any responseUse @WebParam, and @WebResult to customize parameter and operation namesUse checked exceptions to indicate service specific faultsUse wsgen tool to generate artifacts in Java EE5 ( optional in Java EE6, as artifacts are generated at run timeConfigure deployment descriptors( web.xml, webservices.xml) for URL patterns, HTTP security, container authorization, caller authentication, and message protection. jax-ws runtime may also be configured to perform message layer authentication and protection.Compile and package the web service into a WAR fileDeploy the web service into a Java EE servlet container
 |