How to map EJB exception tree to AxisFaults

2003-10-01 Thread jaccoud
no way to export usefull anotations to the WSDL file. However, I am stuck with a problem I forgot to consider initially. Whenever I write the service as a simple class, I am able to create AxisFaults (or an object from some subclass) manually to provide the client with usefull error codes and

How to map EJB exception tree to AxisFaults

2003-09-30 Thread jaccoud
no way to export usefull anotations to the WSDL file. However, I am stuck with a problem I forgot to consider initially. Whenever I write the service as a simple class, I am able to create AxisFaults (or an object from some subclass) manually to provide the client with usefull error codes and

Re: Unwrapping AxisFaults

2003-09-14 Thread Alireza Taherkordi
> have you tried AxisFault.getCause() >Alireza Taherkordi wrote: >Hi, > >anyone knows how to unwrap AxisFaults ? > >I have a SecurityException thrown on server side. This is wrapped into an >AxisFault and sent to the client, which expects a SecurityException, not an >AxisFault. &

Re: Unwrapping AxisFaults

2003-09-13 Thread oleg shteynbuk
have you tried AxisFault.getCause() Alireza Taherkordi wrote: Hi, anyone knows how to unwrap AxisFaults ? I have a SecurityException thrown on server side. This is wrapped into an AxisFault and sent to the client, which expects a SecurityException, not an AxisFault. Is there a utility like

Unwrapping AxisFaults

2003-09-13 Thread Alireza Taherkordi
Hi, anyone knows how to unwrap AxisFaults ? I have a SecurityException thrown on server side. This is wrapped into an AxisFault and sent to the client, which expects a SecurityException, not an AxisFault. Is there a utility like AxisFault.makeFault(Exception), but working in the opposite way

RE: AxisFaults

2003-01-14 Thread David Logan
Actually, the FaultCode={http://schemas.xmlsoap.org/soap/envelope/}Server.generalException -Original Message- From: David Logan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 14, 2003 1:35 PM To: '[EMAIL PROTECTED]' Subject: AxisFaults What is the best way to create/throw a

AxisFaults

2003-01-14 Thread David Logan
What is the best way to create/throw axis faults from the service? I am having trouble getting the fault code from the exception when caught on the client. I get the message but the FaultCode is = ""; --