Re: Axis2-1.5.1 and user exceptions

2010-02-19 Thread Mauro Molinari
Il 17/02/2010 3.53, glopezm ha scritto: Any thoughts/experiences with a similar issues with axis2? I use contract-first approach. My user exceptions extend Exception and have a field called faultMessage with getter getFaultMessage and setter setFaultMessage. The constructor prepares the

Re: Axis2-1.5.1 and user exceptions

2010-02-19 Thread Li Ma
I have been puzzled by this issue for long time. Seams like at this point, using contract-first approach is the only solution for now. But it will still be very very helpful if something can be done so code-first approach can work too. Axis1 definitely worked. I can imagine lots of people are

RE: Axis2-1.5.1 and user exceptions

2010-02-19 Thread Martin Gainty
__ please do not modify or disrupt this transmission. Thank You Date: Fri, 19 Feb 2010 09:15:03 -0500 Subject: Re: Axis2-1.5.1 and user exceptions From: lim...@gmail.com To: axis-user@ws.apache.org I have been puzzled by this issue for long time. Seams

RE: Axis2-1.5.1 and user exceptions

2010-02-16 Thread glopezm
I've continued doing some research about these issues and I've also found out that there's another related issue in http://issues.apache.org/jira/browse/AXIS2-3412. It is now clear for me that custom exceptions are not working the way it should (at least for those like me using the code first

RE: Axis2-1.5.1 and user exceptions

2010-02-15 Thread Doughty, Michael
In the axis2.xml file on the server/service side, you should see this line: parameter name=sendStacktraceDetailsWithFaultsfalse/parameter Set that parameter to true. Additionally, you might want to change this parameter as well: parameter

RE: Axis2-1.5.1 and user exceptions

2010-02-15 Thread glopezm
Thanks for your response Michael!!! That may be useful and I was not aware of that setting however I was trying to get axis2 to work pretty much the same way it was doing it in previous versions. Let me explain. Axis1 whenever you expose an operation as a web service (bottom up) it generates the