title: How configure JAX-WS for the WLP v 16.0.0.4
body: <p>I use jaxws-2.2 feature and need to know how to configure JAX-WS for the WLP v 16.0.0.4.</p>
  
  <p>WLP uses Apache CXF implementation for JAX-WS. Apache CXF JAX-WS configuration includes the next two steps. </p>
  
  <ol>
  <li><p>Create servlet class mapping (org.apache.cxf.transport.servlet.CXFServlet) in the web.xml </p></li>
  <li><p>Create the JAX-WS endpoint configuration (jaxws:endpoint) in the cxf-servlet.xml</p></li>
  </ol>
  
  <p>Maybe there are the other ways for configuration JAX-WS Apache CXF implementation on Liberty, however, I don't know it. All examples for cxf-servlet.xml that I found related to Spring:</p>
  
  <ol>
  <li><p><a href="https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_Fuse/6.1/html/Deploying_into_a_Web_Server/DeployCxf.html" rel="nofollow noreferrer">https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_Fuse/6.1/html/Deploying_into_a_Web_Server/DeployCxf.html</a></p></li>
  <li><p>Apache CXF <a href="http://cxf.apache.org/docs/jax-ws-configuration.html" rel="nofollow noreferrer">http://cxf.apache.org/docs/jax-ws-configuration.html</a></p></li>
  <li><p>IBM <a href="https://www.ibm.com/developerworks/websphere/library/techarticles/1001_thaker/1001_thaker.html" rel="nofollow noreferrer">https://www.ibm.com/developerworks/websphere/library/techarticles/1001_thaker/1001_thaker.html</a> (please see attached pdf and sample application).</p></li>
  </ol>
  
  <p>I couldn't find the cxf-servlet.xml example for the pure Java EE application without Spring (and any others 3rd party) dependencies.</p>
  
  <p>Kind regards,</p>
  
  <p>Alexander</p>