title: java2wsdl (axis2) usage
body: <p>I'm trying to use <code>java2wsdl</code> to generate a document literal wsdl for <code>JiraSoapServiceImpl</code>. However it seems that no matter what usage I use, I got a ClassNotFoundException.</p>
  
  <pre><code>java2wsdl -cp . -cn com.atlassian.jira.rpc.soap.JiraSoapServiceImpl
  </code></pre>
  
  <p>The files are located next to the bat file.</p>
  
  <p><a href="https://studio.plugins.atlassian.com/source/browse/JRPC/trunk/rpc-jira-plugin/src/main/java/com/atlassian/jira/rpc/soap" rel="nofollow">https://studio.plugins.atlassian.com/source/browse/JRPC/trunk/rpc-jira-plugin/src/main/java/com/atlassian/jira/rpc/soap</a></p>
  
  <pre><code>Exception in thread "main" java.lang.ClassNotFoundException: com.atlassian.jira.rpc.soap.JiraSoapServiceImpl
          at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
          at java.security.AccessController.doPrivileged(Native Method)
          at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
          at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
          at java.lang.Class.forName0(Native Method)
          at java.lang.Class.forName(Class.java:242)
          at org.apache.axis2.description.java2wsdl.Java2WSDLUtils.namespaceFromClassName(Java2WSDLUtils.java:65)
          at org.apache.axis2.description.java2wsdl.Java2WSDLUtils.schemaNamespaceFromClassName(Java2WSDLUtils.java:84)
          at org.apache.ws.java2wsdl.Java2WSDLBuilder.getSchemaTargetNamespace(Java2WSDLBuilder.java:121)
          at org.apache.ws.java2wsdl.Java2WSDLBuilder.generateWSDL(Java2WSDLBuilder.java:212)
          at org.apache.ws.java2wsdl.Java2WSDLCodegenEngine.generate(Java2WSDLCodegenEngine.java:59)
          at org.apache.ws.java2wsdl.Java2WSDL.main(Java2WSDL.java:32)
  </code></pre>