Hi guys,
Has anyone of you stumbled upon this issue with a CXF webservice? I am attempting to
test my webservice deployed on a Weblogic 10.3 server. The service does appear to be up and the wsdl is accessible via the url. But, when I attempt to access it using a test client class, I keep getting this error... Any help would be greatly appreciated!!
Thanks,
Raghu
Mar 25, 2011 2:54:10 PM org.apache.cxf.bus.spring.BusApplicationContext getConfigResources
INFO: No cxf.xml configuration file detected, relying on defaults.
Mar 25, 2011 2:54:13 PM org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
INFO: Creating Service {http://webservice.abc.com/}RestrictAccount from class com.abc.webservice.RestrictAccountService
WSDL_FILE_URL: null
ENDPOINT_ADDRESS:
http://localhost:7002/abcSvc-web/services/RestrictAccountService
******************* RESTRICT - Invoking Service *************
Mar 25, 2011 2:54:16 PM org.apache.cxf.phase.PhaseInterceptorChain doIntercept
INFO: Interceptor has thrown exception, unwinding now
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean
at org.apache.cxf.transport.http.HTTPConduit.prepare(HTTPConduit.java:566)
at org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:46)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:471)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:301)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:253)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:121)
at $Proxy55.restrictAccount(Unknown Source)
at com.abc.webservice.TestWSClient.main(TestWSClient.java:114)
javax.xml.ws.soap.SOAPFaultException: java.lang.String cannot be cast to java.lang.Boolean
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:141)
at $Proxy55.restrictAccount(Unknown Source)
at com.abc.webservice.TestWSClient.main(TestWSClient.java:114)
Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean
at org.apache.cxf.transport.http.HTTPConduit.prepare(HTTPConduit.java:566)
at org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:46)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:471)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:301)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:253)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:121)
... 2 more