Hello,
I am new to
java, so please bear with me. I am an asp.net programmer though. I used axis2's wsdl2java program to generate the wsdl for my webservice. This generated a single file in the folder:
src/net/mycompany/www/services/SessionIntegrationStub.java
I compiled this class using javac and it produced several .class files in the same folder.
Then I created a new .java file again in the same folder to consume the webservice. My code looks like this:
package net.mycompany.www.services;
...
SessionIntegrationStub stub = new SessionIntegrationStub();
System.out.println(stub.getSessionIntegration("test"));
Now when I try to compile this class, then javac is not able to find the SessionIntegrationStub class, although I can see the SessionIntegrationStub.class file in the same folder. Is there anything I am missing?
Thanks,