2 Replies Latest reply on Jan 31, 2006 10:21 AM by Jason Greene

    Problem While Deploying Web Service on Jboss

    Sharadindu Mohanty Newbie

      Hi,
      I am using NetBeans 5.0 RC2 and Jboss 4.0.3 SP1. I have written a Web Service which will add two input numbers.The Web Service has one method and the return type is String and input prameter type are int.

      When ever i am trying to run the above Ws on JBOSS I am getting following error.
      12:10:34,853 INFO [AxisServlet] Exception:

      java.lang.IllegalStateException: Cannot obtain java type for: {urn:AddNum/types}numAdd

      at org.jboss.axis.description.ServiceDesc.syncOperationToClass(ServiceDesc.java:71 at org.jboss.axis.description.ServiceDesc.getSyncedOperationsForName(ServiceDesc.java:118 at org.jboss.axis.description.ServiceDesc.loadServiceDescByIntrospectionRecursive(ServiceDesc.java:104 at org.jboss.axis.description.ServiceDesc.loadServiceDescByIntrospection(ServiceDesc.java:97 at org.jboss.axis.providers.java.JavaProvider.initServiceDesc(JavaProvider.java:73 at org.jboss.webservice.server.InvokerProvider.initServiceDesc(InvokerProvider.java:10 at org.jboss.axis.handlers.soap.SOAPService.getInitializedServiceDesc(SOAPService.java:38 at org.jboss.axis.deployment.wsdd.WSDDService.makeNewInstance(WSDDService.java:56 at org.jboss.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:32 at org.jboss.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:30 at org.jboss.axis.deployment.wsdd.WSDDDeployment.getService(WSDDDeployment.java:52 at org.jboss.axis.configuration.FileProvider.getService(FileProvider.java:28 at org.jboss.axis.AxisEngine.getService(AxisEngine.java:25 at org.jboss.webservice.server.ServiceEndpointServlet.doGet(ServiceEndpointServlet.java:5 at javax.servlet.http.HttpServlet.service(HttpServlet.java:69 at org.jboss.axis.transport.http.AxisServletBase.service(AxisServletBase.java:37 at javax.servlet.http.HttpServlet.service(HttpServlet.java:81 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:25 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:1



      Some where i read that Jboss4.0.3 SP1 does not support decumentliteral. But I want my Web Service to be documentliteral, I dont want to use rpcliteral as my webservice will be accessed by .NET code and .NET does not support rpcliteral.

      Can any body suggest how can i proceed?

      Thanks
      Sharadindu