For now
--Srinath

---------- Forwarded message ----------
From: Peter De Roovere <peter.de.roov...@gmail.com>
Date: Tue, Mar 24, 2009 at 8:36 AM
Subject: Re: question regarding master's thesis: SOA-governance on Axis2
To: Srinath Perera <hemap...@gmail.com>


Dear Srinath,
thank you for your previous reply. My project is going very well, but
I am struggling with one final issue. I want to display faults in
SOAP-communication, using handlers in Axis2. I understand the
InFaultflow and OutFaultFlow are not the overall solution to deal with
faults in Axis2. Could you give me some tips about catching fault
messages?
For example: when a service endpoint is not found, is it possible to
intercept an HTTP 404 message for example?
If not, what kind of SOAP-fault messages are intercepted in the In-
and OutFaultFlow?
Thank you very much for your help!
Regards, Peter
2009/3/16 Srinath Perera <hemap...@gmail.com>
>
> Hi Peter;
>
> Usually you may use operation context to correlate messages if two
> messages are part of the same operation. (that is case 1 I think). But
> it seems to me that the case two there are no relationship between two
> messages.
>
> e.g. request to service A -> request to service B ... have a parent
> child relationship if there are any relationship at all. AFAIK
> WS-Specs does not specify how to do this. So most likely there is not
> transparent way of doing this. You service can copy something (e.g.
> request message ID)) to response message and you can use it to
> correlate, but it is not transparent in the sense your service have to
> know about this and explicitly do this.
>
> Ask me if you need more clarification. If you do not mind let us
> discuss this in axis2-dev list, as we might get input from others as
> well.
>
> Thanks
> Srinath
>
>
>
> On Mon, Mar 16, 2009 at 5:57 AM, Peter De Roovere
> <peter.de.roov...@gmail.com> wrote:
> > Dear Axis2-developers,
> > I am an engineering student from Leuven (Belgium) and I'm developing an
> > application using Axis2 as part of my master's thesis project.
> > The main goal of this application is to do SOA-governance and SOA-monitoring
> > using custom-written handlers. These handlers (defined in Axis2) intercept
> > incoming and outgoing SOAP-messages at different Axis2 environments, adding
> > information to the header of these messages when going out and reading this
> > information when coming in. Each time a message passes through an
> > interception (handler), information is written in a database, and this
> > information is used to make some assumptions about the monitored SOAs.
> > The system is working properly for synchronous web services, but a problem
> > occured when developing using asynchronous web services:
> > I would like to pass some parameters from the incoming-handler (IN-flow) to
> > the outgoing handler (OUT-flow) (for example: an ID that's read from the
> > header at the entrance of a service, had to be put in the header of a
> > corresponding message going out).
> > So: the incomming handler has to pass information to the ougoing handler.
> > There are 2 possible cases where this should happen:
> > 1. the outgoing message is a response to a previously received incomming
> > message. (the system is able to correlate these messages using the REPLYTO
> > parameter, so no problem here)
> > 2. the outgoing message is a request to another service, comming from a
> > service that previously received a request itself (the incomming message to
> > SERVICE A invokes an operation of this service, as a result of this
> > operation, a request to SERVICE B is sent (outgoing))
> > This 2nd case is causing the problem. Is it possible to correlate an
> > outgoing message (from the same service, operation) with a previously
> > received incomming message, using asynchronous web services (this means it
> > is not true that the first outgoing message corresponds to the last received
> > incomming message)??
> > I hope you understand the problem I'm facing.
> > Thank you very much for your time.
> > Regards,
> > Peter De Roovere
> >
>
>
>
> --
> ============================
> Srinath Perera:
>   Indiana University, Bloomington
>   http://www.cs.indiana.edu/~hperera/
>   http://srinathsview.blogspot.com/




-- 
============================
Srinath Perera:
   Indiana University, Bloomington
   http://www.cs.indiana.edu/~hperera/
   http://srinathsview.blogspot.com/

Reply via email to