[JBossWS] - [SOAPFaultHelperJAXWS] SOAP request exception java.lang.Ille
by tony4jboss
Help, pls!
JBoss 5.0.1 + Eclipse 3.4.2, build-in JBossWS 3.0.5
When calling Web service from a client, which is generated by wscomsume, exception thrown. I have endorsed Jboss taking care of jax-ws jar files. Do i miss something?
I have copy jbossws-native-saaj.jar, jbossws-native-jaxrpc.jar, jbossws-native-jaxws.jar, jbossws-native-jaxws-ext.jar, and jaxb-api.jar to JBOSS_HOME/lib/endorsed and the property on JVM. Any clue what is going wrong?
Tony
ERROR [SOAPFaultHelperJAXWS] SOAP request exception
java.lang.IllegalStateException: Cannot get target bean instance
at org.jboss.wsf.container.jboss50.invocation.InvocationHandlerJSE.getTargetBean(InvocationHandlerJSE.java:81)
at org.jboss.wsf.container.jboss50.invocation.InvocationHandlerJSE.invoke(InvocationHandlerJSE.java:95)
at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:219)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:474)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:295)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:205)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:131)
at org.jboss.wsf.common.servlet.AbstractEndpointServlet.service(AbstractEndpointServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.InstantiationException:
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4221647#4221647
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4221647
15 years, 9 months
[JBossWS] - Cannot obtain endpoint meta data when accessing web service
by outlawjose
Having an issue getting my web service to work.
I installed JBossWS 3.1.0 GA into my server (bundled JBoss AS 4.2.3 / JBoss Portal 2.7.2) and deployed a web service using JBoss Dev Studio 2.0.0.CR2. The web service implementation has one method that takes a string and returns a string (nothing fancy). I used the JBoss tools to generate the web service from a WSDL. The packaged web service (J2EE EAR with web.xml updated to add a servlet/mapping) deploys without any errors.
It shows up in the Registered Service Endpoint, but when I click on the link, I get an error stating IllegalStateException: Cannot obtain endpoint meta data and the browser shows the generic error that "XML must have a top level element" since it is an empty file.
Are the above releases I am deploying to compatible? If not can someone point me to the correct combination? Or am I missing something? Any avenues to investigate would be appreciated.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4221341#4221341
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4221341
15 years, 9 months