title: How to use WSDL2Java generated files?
body: <p>I generated the .java files using wsdl2java found in axis2-1.5. Now it generated the files in this folder structure: src/net/mycompany/www/services/</p>
  
  <p>The files in the services folder are: SessionIntegrationStub and SessionIntegrationCallbackHandler. </p>
  
  <p>I would like to consume the webservice now. I added the net folder to the CLASSPATH environment variable. My java file now imports the webservice using:</p>
  
  <pre><code>import net.mycompany.www.services;
  
  public class test 
  { 
    public static void main(String[] args) 
    {
      SessionIntegrationStub stub = new SessionIntegrationStub();
      System.out.println(stub.getSessionIntegration("test"));
    } 
  } 
  </code></pre>
  
  <p>Now when I try to compile this using:</p>
  
  <p>javac test.java</p>
  
  <p>I get: package net.mycompany.www does not exist.</p>
  
  <p>Any idea?</p>