Re: How to grab Axis faultString?

2008-02-28 Thread Nandana Mihindukulasooriya
Hi,
   are you using Axis 2 ? Can you please clarify your scenario bit more ?

On Wed, Feb 27, 2008 at 1:05 PM, dunnohow [EMAIL PROTECTED] wrote:

  Hi all,

  I defined two log handlers

  ConsumerOutHandler
  ConsumerInHandler

  Axis fault will be generated in the handler if there are soap exception.
  My problem is how can i possibly pass back this fault string to my web
  application?


thanks,
/nandana

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to grab Axis faultString?

2008-02-28 Thread dunnohow

I am using axis 1.4

Basically i am throwing an axis fault when invoking the web service call in
the stub.java

how do i pass this fault string back to my main application?

can i keep on throwing the exception?
so that my main application which is the strutaction will then catch it?


Nunny wrote:
 
 Hi,
are you using Axis 2 ? Can you please clarify your scenario bit more ?
 
 On Wed, Feb 27, 2008 at 1:05 PM, dunnohow [EMAIL PROTECTED] wrote:

  Hi all,

  I defined two log handlers

  ConsumerOutHandler
  ConsumerInHandler

  Axis fault will be generated in the handler if there are soap exception.
  My problem is how can i possibly pass back this fault string to my web
  application?

 
 thanks,
 /nandana
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/How-to-grab-Axis-faultString--tp15707591p15749910.html
Sent from the Axis - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to grab Axis faultString?

2008-02-28 Thread Martin Gainty
Ronald-

AxisFault extends RemoteException
RemoteException has 3 methods which may be of interest
getMessage() returns a descriptive message of the Exception
getCause() returns the wrapped remote exception..this is the object which
your AxisFault class can be *re*-thrown

HTH
Martin-
- Original Message -
From: dunnohow [EMAIL PROTECTED]
To: axis-user@ws.apache.org
Sent: Thursday, February 28, 2008 8:06 PM
Subject: Re: How to grab Axis faultString?



 I am using axis 1.4

 Basically i am throwing an axis fault when invoking the web service call
in
 the stub.java

 how do i pass this fault string back to my main application?

 can i keep on throwing the exception?
 so that my main application which is the strutaction will then catch it?


 Nunny wrote:
 
  Hi,
 are you using Axis 2 ? Can you please clarify your scenario bit more
?
 
  On Wed, Feb 27, 2008 at 1:05 PM, dunnohow [EMAIL PROTECTED] wrote:
 
   Hi all,
 
   I defined two log handlers
 
   ConsumerOutHandler
   ConsumerInHandler
 
   Axis fault will be generated in the handler if there are soap
exception.
   My problem is how can i possibly pass back this fault string to my web
   application?
 
 
  thanks,
  /nandana
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

 --
 View this message in context:
http://www.nabble.com/How-to-grab-Axis-faultString--tp15707591p15749910.html
 Sent from the Axis - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How to grab Axis faultString?

2008-02-26 Thread dunnohow

Hi all,

I defined two log handlers

ConsumerOutHandler
ConsumerInHandler

Axis fault will be generated in the handler if there are soap exception.
My problem is how can i possibly pass back this fault string to my web
application?


-- 
View this message in context: 
http://www.nabble.com/How-to-grab-Axis-faultString--tp15707591p15707591.html
Sent from the Axis - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]