title: WebSphere Liberty JAX-WS Web Service Generation in Eclipse
body: <p>I have</p>
  
  <ul>
  <li>WebSphere Liberty 17.0.0.1 "BASE_ILAN" x86_64 on Windows Server 2012 R2</li>
  <li>Eclipse Neon.3 on Windows 10 x86_64 (separate server on the same LAN)</li>
  <li>Oracle Java JDK 1.8.0_121 running Liberty</li>
  <li>IBM JDK 8 (from the Eclipse bundle) running Eclipse (need it for the Windows remote server start/stop support)</li>
  </ul>
  
  <p>In the <code>bin</code> directory, <code>productInfo featureInfo</code> returns many things, but among them:</p>
  
  <ul>
  <li>jaxws-2.2 [1.0.0]</li>
  <li>javaee-7.0 [7.0.0] (since this is a convenience feature that brings in tons of other stuff, you can probably infer how many other dozens of things I have also)</li>
  </ul>
  
  <p>In my server.xml, under <code>&lt;featureManager&gt;</code>, I have a <code>&lt;feature&gt;...&lt;/feature&gt;</code> for:</p>
  
  <ul>
  <li>javaee-7.0</li>
  <li>localConnector-1.0</li>
  <li>jsf-2.2</li>
  <li>restConnector-2.0</li>
  <li>jaxws-2.2</li>
  <li>jaxrs-2.0</li>
  </ul>
  
  <p>In Eclipse, I right-click on my WAR project, go to New -> Other..., and pick Web Services -> Web Service. Click Next.</p>
  
  <p>Now I have a dialog with the following fields:</p>
  
  <ul>
  <li>Web service type: "Bottom up Java bean Web Service"</li>
  <li>Service implementation: <code>some.package.SomeWebService</code> (from my code; it contains proper <code>@WebService</code> annotations, etc.)</li>
  <li>Slider set to "Start service" for the service, and "No client" on the bottom</li>
  <li>Configuration: 
  
  <ul>
  <li>Server runtime: WebSphere Application Server Liberty</li>
  <li>Web service runtime: IBM WebSphere JAX-WS</li>
  <li>Service project: <code>&lt;my WAR project&gt;</code></li>
  <li>Service EAR project: <code>&lt;my EAR project&gt;</code></li>
  </ul></li>
  <li>"Publish the Web service" checkbox is unchecked</li>
  <li>"Monitor the Web service" checkbox is unchecked</li>
  <li>"Overwrite files without warning" checkbox is checked</li>
  </ul>
  
  <p>When I click Next, I get the following warning:</p>
  
  <blockquote>
    <p>The project is targeted against a server without IBM WebSphere JAX-WS support. Continuing code generation will result in compilation errors.</p>
  </blockquote>
  
  <p>If I click OK, I get routed to another dialog, "WebSphere JAX-WS Bottom Up Web Service Configuration", with various options. Regardless of what I select here, when clicking Next or Finish, I get the following error:</p>
  
  <blockquote>
    <p>Tools for the targeted server must be installed in order to generate Web services code.</p>
  </blockquote>
  
  <p>How can I overcome this problem and use JAX-WS with Liberty? I have the full EE profile so it should work, right?</p>
  
  <p>I have already tried refreshing the cache under Servers -> Runtime Environments -> Edit -> Advanced. I even deleted and recreated my server, as well as wiped the Liberty directory and unpacked it again from scratch, embedding jaxws and Java EE full profile support from the very beginning.</p>