Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jwsdp 2.0 unable to deserialize SoapFault from axis webservice

Sascha Horn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

i am accessing an axis webservice (rpc encoded) with an client generated with jwsdp 2.0 jaxrpc libraries.

Everything works fine, except the deserialization of the SOAPFaults.


This fault should bring me an RemoteException: Authentification failed. Please verify user name and password.

But i receive:

Caused by: Unexpected xml reader state. Excpected: END but found: START: {}hostname
at com.sun.xml.rpc.encoding.ObjectSerializerBase.deserialize(
at com.sun.xml.rpc.client.StreamingSender._readBodyFaultElement(
at com.sun.xml.rpc.client.StreamingSender._send(
... 16 more

when i am using the webservices-osgi packages from metro project for testing purposes i receive the correct exception.

The webservice client should run on Jboss AS Server side, so i can not use the metro packages.

Has anybody a idea how to receive the correct exception using jwsdp Jaxrpc packages?




I have tried it with jdk 1.5 and jdk 1.6.
Allways the same behaviour.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic