Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Axis - no message in custom exception  RSS feed

Oliver Nautsch
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

After searching 2 hours I want to ask you here...

I don't get the message (getMessage) from a exception (subclass of RemoteException) on the client side. The serializer and deserializer for the exception is on the server and the client side a BeanSerializer/BeanDeserializer. The exception is registered via Call.addFault(QName qname, java.lang.Class cls, QName xmlType, boolean isComplex) on the client.

I get the following message from the server (tcp/ip monitor):

I'm also getting the right exception on the client side - no AxisFault. But the message is not in the Exception.

May be the BeanDeserializer is the problem because there is no setMessage in the Exception only a constructor with a parameter "String message".

So, how can I get the Message in the Exception from Axis?

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!