1 Reply Latest reply on Nov 29, 2012 8:57 AM by Kayaman

    Getting error While testing Web Service deployed Glassfish using Net beans.

    Ajay Sharma

      I created a web service in netbeans. I deployed it on glassfish server too.

      My web service contains one method which return type is Document. Here is my web service class code.
      @WebService(serviceName = "DocumentTest")
      public class DocumentTest {
           * This is a sample web service operation
          @WebMethod(operationName = "hello")
          public String hello(@WebParam(name = "name") String txt) {
              return "Hello " + txt + " !";
          public Document getDocument(){
              Document doc = null;
              return doc;
      After Deployment when I m testing the web service I am getting follwoing error on Browser
      Error generating artifacts for the following WSDL http://localhost:8093/DocumentTest/DocumentTest?WSDL
      Possible causes can be invoking https when the application is not configured for security
      I am just testing whether I can send Document object or not.

      Ajay Sharma

      Edited by: Ajay Sharma on Nov 27, 2012 12:37 PM

      Edited by: Ajay Sharma on Nov 29, 2012 2:16 PM