Hi Aliosha, I reckon you can use an "Axis2 handler" to match request and response. In that case you have to write an Handler class extending "AbstractHandler" class. There by try to analyse the SOAP Message and retrieve the necessary information that you want.
You can find[1] as an example. I reckon it should work. [1] https://github.com/Malintha/WSO2_Identity_Audit/blob/master/Axis2HandlerProject/src/main/java/org/wso2/carbon/identity/audit/AuditHandler.java <https://github.com/Malintha/WSO2_Identity_Audit/blob/master/Axis2HandlerProject/src/main/java/org/wso2/carbon/identity/audit/AuditHandler.java> On Sat, Mar 7, 2015 at 1:55 PM, Malaka Silva <mal...@wso2.com> wrote: > Hi Aliosha, > > There is no straight forward way to do this. > > You could generating a random number (using script mediator) and logging > it in the inSequence and outSequence, > > However it will get mixed up when there are parallel requests. Meaning out > sequence log may not come right after the insequence log. But it'll be > there. > > > > On Fri, Mar 6, 2015 at 7:13 PM, Aliosha <aliosh...@gmail.com> wrote: > >> Hi...I'm working on WSO2 ESB 4.8.1 By observing the >> >> ESB HOME/repository/logs/wso2carbon.log >> >> i need to know the connection between one request and its relative >> response going through my proxy services. >> >> I tried following the MessageID property printed in the insequence and >> the out sequence of my proxies, but i realize, even if i'm not so sure, >> that this property is different from one to the other. >> >> So what's the way i could know which are the requests all the responses >> are connected with? >> >> >> Regards >> >> Alessio >> > > > > -- > > Best Regards, > > Malaka Silva > Senior Tech Lead > M: +94 777 219 791 > Tel : 94 11 214 5345 > Fax :94 11 2145300 > Skype : malaka.sampath.silva > LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 > Blog : http://mrmalakasilva.blogspot.com/ > > WSO2, Inc. > lean . enterprise . middleware > http://www.wso2.com/ > http://www.wso2.com/about/team/malaka-silva/ > <http://wso2.com/about/team/malaka-silva/> > > Save a tree -Conserve nature & Save the world for your future. Print this > email only if it is absolutely necessary. > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Chamin Nalinda Research Undergraduate University of Colombo School of Computing (UCSC). Student Member IEEE (92387118) LinkedIn: https://www.linkedin.com/in/chaminnalinda GitHub: https://github.com/CoolCK Blog: http://techspiro.blogspot.com/
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev