-
1. Re: New Wiki has been down for at least a day and a half....
heiko.braun Sep 7, 2007 2:06 PM (in response to clatasa)Yes, sorry for that.
The compiled WIKI contents are accesible here:
http://labs.jboss.com/jbossws/docs/jaxws_userguide-2.0/index.html -
2. Re: New Wiki has been down for at least a day and a half....
clatasa Sep 12, 2007 4:00 PM (in response to clatasa)Thank you for the link however this still does not answer my question.
Once again, I'm looking for documentation that explains where the name of the exception wrapper is being set by wsconsume. The default is to take your exception and wrap it with a class named the same with "_Exception" appended. I've looked a bit at the jboss_wsconsume-impl.jar and noticed there are several properties files however none seem to set this name or pattern.
Any help would be greatly appreciated. -
3. Re: New Wiki has been down for at least a day and a half....
eminil Nov 15, 2008 11:55 AM (in response to clatasa)This did never get answered... I'm running into the same problem.
We have Exceptions defined as java classes. And we want both the server and client to use the same classes.
But when we run wsconsume to generate the endpoint for the client, it wraps up the Exceptions in weird _Exception.java classes. We would like the endpoint interface to use the same exception classes as the server. (They are packaged into our client jar and shipped along with the client). -
4. Re: New Wiki has been down for at least a day and a half....
blitzz Jan 28, 2009 3:51 AM (in response to clatasa)I'm facing the same problem as eminil.
On client side, I need to use the same exceptions as on server, and not wsconsume generated "_Exceptions".
Currently , I'm temporary doing something like this... :
try {
//web service call
//catch wsconsume generated Exceptiions
} catch (MyCustomException_Exception e) {
throw new MyCustomException(e.getMessage()..);
}
Is there a way to avoid this ?