Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error Occured when i try to run the client

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

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
ava:70)
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic