• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error Occured when i try to run the client  RSS feed

anil kumar
Ranch Hand
Posts: 447
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

This is the error i got when i tried to run the client

java.lang.ClassCastException: com.sun.xml.internal.messaging.saaj.soap.ver1_1.Me
ssage1_1Impl cannot 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
at webservices.NwordServiceIF_Stub.getNumberString(NwordServiceIF_Stub.j
at client.NwordServiceClient.main(NwordServiceClient.java:15)

I have deployed the webservice in the sun server 8.2 and JDK 5.0.And the service is running.

I know basics of webservices and i am trying to learn.I am using JAX-RPC.

Could any one tell me,what to do to resolve this error.

Thanks & Regards

Anil Kumar
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!