Hi,

Thanks for your help.

For the archive:
I ended up with two handlers, one for the request- and one for the
response.-flow.
They do the same, but the handler in the requestflow implements
onFault() and the handler in the responseflow implements invoke().

mvh
Kristian Andersen





On 10/5/05, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Hi!
>
> How I read the documentation only the handlers of the request flow are 
> invoked in case of a fault. So try to add a handler on the request flow.
>
> Best regards,
> Günter
>
>
> > -----Original Message-----
> > From: Kristian Andersen [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, October 04, 2005 7:50 PM
> > To: Grossberger, Guenter
> > Cc: [email protected]
> > Subject: Re: Handler not run on SOAP Fault
> >
> > Hi,
> >
> > Im sorry, forgot to metion that :-)
> >
> > Yes, I did implement onFault but it does not seem to be invoked when
> > the AxisFault is thrown.
> >
> >
> >
> > Regards,
> > Kristian Andersen
> >
> >
> >
> > On 10/4/05, [EMAIL PROTECTED]
> > <[EMAIL PROTECTED]> wrote:
> > > Did you implement the onFault method?
> > >
> > > Best regards,
> > >
> > > --
> > > DI Günter Grossberger
> > > Consultant             Tel: +43 1 329 50 161
> > > Software AG Österreich Fax: +43 1 329 50 171
> > > Guglgasse 7-9          GSM: +43 676 833 29 261
> > > 1030 Wien              http://www.softwareag.com/austria
> > >
> > >
> > > > -----Original Message-----
> > > > From: Kristian Andersen [mailto:[EMAIL PROTECTED]
> > > > Sent: Tuesday, October 04, 2005 1:36 PM
> > > > To: [email protected]
> > > > Subject: Handler not run on SOAP Fault
> > > >
> > > > Hi,
> > > >
> > > > I have a simple handler (derived from BasicHandler) defined in the
> > > > ResponseFlow that gets the input and output SOAP messages
> > from the msg
> > > > ctx and stores them. This works fine, except when an AxisFault is
> > > > thrown from the main code. In that case my handler never runs.
> > > >
> > > > Any ideas?
> > > >
> > > > (Im using Axis 1.2.1)
> > > >
> > > > Regards,
> > > > Kristian Andersen
> > > > [EMAIL PROTECTED]
> > > >
> > >
> >
> >
> > --
> >
>


--
mvh
Kristian Andersen
[EMAIL PROTECTED]

Reply via email to