[jboss-user] [JBossWS] - Re: Providing your own wsdl instead of the generated one.

sr_ren do-not-reply at jboss.com
Thu Sep 11 13:28:52 EDT 2008


I am using JBoss 4.3. I followed the exact steps I just got this
10:25:45,013 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=EchoTest,endpoint=echo
10:25:45,075 INFO  [TomcatDeployer] deploy, ctxPath=/EchoTest, warUrl=.../tmp/deploy/tmp53925EchoTest-exp.war/
10:25:45,401 INFO  [WSDLFilePublisher] WSDL published to: file:/C:/Program Files/JBoss/server/default/data/wsdl/EchoTest.war/EchoService.wsdl

I did not get the message regarding "ServiceEndpointDeployer". When I test my web service I got exception 

10:27:07,011 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
java.lang.IllegalStateException: Canot get target bean instance
	at org.jboss.wsf.container.jboss42.DefaultInvocationHandler.getTargetBean(DefaultInvocationHandler.java:80)
	at org.jboss.wsf.container.jboss42.DefaultInvocationHandler.invoke(DefaultInvocationHandler.java:90)
	at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:220)
...
Caused by: java.lang.InstantiationException: echo.Echo
	at java.lang.Class.newInstance0(Unknown Source)
	at java.lang.Class.newInstance(Unknown Source)
	at org.jboss.wsf.container.jboss42.DefaultInvocationHandler.getTargetBean(DefaultInvocationHandler.java:75)

I don't understand who creates this echo.Echo servlet which is mentioned in the web.xml. Any help

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175930#4175930

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175930



More information about the jboss-user mailing list