0 Replies Latest reply on Nov 3, 2004 7:25 PM by matze3000

    Problem: Cannot Process WSDL document

    matze3000

      Hello,

      I'm using JBoss for one week now and I'm trying to develop a webservice. I've managed to deploy an EBJ with all the necessary files to run it as a webservice.

      My problem is now, that I cannot get access to the wsdl-file when I'm typing an url like http://localhost:8080/myapp/myservicename?wsdl. If I do so, I get the following error on from JBoss:

      01:05:33,484 ERROR [InvokerProvider] Cannot process WSDL document
      java.lang.NullPointerException
       at org.jboss.webservice.server.InvokerProvider.getDocumentForPath(InvokerProvider.java:214)
       at org.jboss.webservice.server.InvokerProvider.generateWSDL(InvokerProvider.java:181)
       at org.apache.axis.strategies.WSDLGenStrategy.visit(WSDLGenStrategy.java:74)
       at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:162)
       at org.apache.axis.SimpleChain.generateWSDL(SimpleChain.java:145)
       at org.apache.axis.handlers.soap.SOAPService.generateWSDL(SOAPService.java:427)
       at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:558)
       at org.jboss.webservice.server.ServiceEndpointServlet.processWsdlRequest(ServiceEndpointServlet.java:236)
       at org.jboss.webservice.server.ServiceEndpointServlet.doGet(ServiceEndpointServlet.java:130)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
       at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:372)
      ...


      When I try the url http://localhost:8080/myapp then a page appears that lists three services for my app: , 'Version' and 'Administration'. For that services there is always a link '(wsdl)' which gets to the corresponding url with ?wsdl at the end.

      I'm greatful for ideas and tips how I can solve the problem and can access the wdsl.
      Matze