This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Axis - no message in custom exception  RSS feed

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

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?

Regards
Oliver
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!