Exception with JAX-RPC and SAAJ
If you use JDK 1.6 and JAX-RPC in the version shipped with NetBeans, so you may receive the following exception: Exception in thread "main" java.lang.ClassCastException: com.sun.xml.internal.messaging . saaj.soap.ver1_1.Message1_1Impl can not be cast to com.sun.xml.messaging.saaj.soap.MessageImpl
at com.sun.xml.rpc.client.StubBase._postSendingHook (StubBase.java: 231)
at com.sun.xml.rpc.client.StreamingSender._send (StreamingSender.java: 324)
This is caused by an incompatible SAAJ library. https After installing the latest version of : / / saaj.dev.java.net /
it works.
0 comments:
Post a Comment