Re: JAVA2WSDL and generation of user defined RuntimeException

2006-05-07 Thread Dies Koper
Hello Mati, There is no need to declare runtime exceptions. You can catch them without declaring them. If you want your custom exception to be defined in the WSDL so that a class for it is generated on the client side, you'll have to use a checked exception (there is no mapping for runtime exc

JAVA2WSDL and generation of user defined RuntimeException

2006-05-03 Thread Mati David
I have my own defined RuntimeException (MyRuntimeException that extends java.lang.RuntimeException). When I’m trying to run JAVA2WSDL on it I get the following message:   - The class MyRuntimeException extends non-bean class java.lang.RuntimeException.  An xml schema anyType will be used