Win a copy of JDBC Workbook this week in the JDBC and Relational Databases forum
or A Day in Code in the A Day in Code forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

Error Occured when i try to run the client

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(
at com.sun.xml.rpc.client.StreamingSender._send(
at webservices.NwordServiceIF_Stub.getNumberString(NwordServiceIF_Stub.j
at client.NwordServiceClient.main(

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
No thanks. We have all the government we need. This tiny ad would like you to leave now:
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic