[jboss-user] [JBossWS] - ver1_1.Message1_1Impl cannot be cast to MessageImpl AND Cann
DeanoUK
do-not-reply at jboss.com
Wed Oct 3 12:39:01 EDT 2007
On trying to run a SOAP client I get:
| Exception in thread "main" java.lang.ClassCastException: com.sun.xml.internal.messaging.saaj.soap.ver1_1.Message1_1Impl cannot be cast to com.sun.xml.messaging.saaj.soap.MessageImpl
| at com.sun.xml.rpc.client.dii.CallInvokerImpl._postSendingHook(CallInvokerImpl.java:305)
| at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:324)
| at com.sun.xml.rpc.client.dii.CallInvokerImpl.doInvoke(CallInvokerImpl.java:103)
| at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:486)
| at com.sun.xml.rpc.client.dii.CallInvocationHandler.doCall(CallInvocationHandler.java:121)
| at com.sun.xml.rpc.client.dii.CallInvocationHandler.invoke(CallInvocationHandler.java:85)
| at $Proxy0.uploadNewRegistrations(Unknown Source)
|
On JBoss I receive:
| [03 Oct 2007 17:30:25] ERROR org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS - SOA
| P request exception
| org.jboss.ws.WSException: Cannot find child element: arg0
| at org.jboss.ws.core.CommonSOAPBinding.getParameterFromMessage(CommonSOA
| PBinding.java:891)
| at org.jboss.ws.core.CommonSOAPBinding.unbindRequestMessage(CommonSOAPBi
| nding.java:343)
|
I'm using JBoss4.2.1GA with JBossWS-2.0.1
The first exception seems related to the fact I'm using JDK 6...but jboss-saaj.jar is indeed in libs/endorsed which I believe should resolve that problem.
Any ideas on how to fix this?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4091149#4091149
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4091149
More information about the jboss-user
mailing list