title: Webservice from WSDL using Eclipse
body: <p>I have a WSDL file and I would like to create a webservice from that using Java (&quot;Contract first approach&quot;). I used the WSImport-Tool from JAX-WS (Java version 1.6.0_07) on the command line to generate Java-code stubs. This worked fine and I received the following Java files:</p>
  <pre><code>Add.java
  AddResponse.java
  ObjectFactory.java
  package-info.java
  Test.java
  TestPortType.java
  </code></pre>
  <p>But how do I go on from here?</p>
  <p>I am using Eclipse. There I could set up a new &quot;Dynamic Web Project&quot; with Target Runtime = &quot;Tomcat 7.0&quot;. In Configuration do I have to choose &quot;Axis2&quot;? (Tomcat 7 and Axis2 are already setup locally).</p>
  <p>I am lost at this point and do not know how to keep going.</p>
  <p>Does it make it easier to create the webservice using Axis2 or do you recommend using JAX-WS? Or is there an even better option?
  How and where do I include my WSDL file so it gets deployed to Tomcat 7?</p>