I converted a stand-alone java application into a web service. The deploy on glassfish server is successful. When I test the webservice, I get the following error.
Error generating artifacts for the following WSDL http://localhost:8080/Dec/Dec?WSDL
Possible causes can be invoking https when the application is not configured for security
My java application has 3 classes.
@WebService(serviceName = "Dec")
@Stateless()
public class Dec {
int num;
....
class Data{
public int []a;
public Data(int num) {
a= new int[num];
}
};
class T{
public double sum;
...
};
//operations
};
I tried to convert a java application with a single class to a web service and that worked perfectly.
Please help me with a way out of this issue.