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
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3920589#3920589
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3920589
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user