I tried customizing exceptions and i had .net on the client. All i can do on the client side is, i can catch the exception as SoapException and get the string from that exception. .net client could not build a class for the custom exceptions in the web reference like it does for all other objects that is passed and returned as parameters.
That makes sense. I'm under the assumption that a custom Java exception on
the server can't be instantiated in a client written in another language. I'm OK
with that.
My problem is, I have a Java server and Java client, and my custom exception
is not being instantiated in the client. Instead, an AxisFault is created that
*looks* just like my exception, but isn't. This means that if I print the exception,
it looks OK, but it won't go into the expected catch blocks. I also can't pass
custom data (like an Object array, or Integer, etc.) in an exception from server to
client, which is my real goal.
Any ideas, anyone?
