Ok, hence can i use interceptor in order to capture a service invocation message? i mean, can i capture single atomic service start event (that compose with the other service the process) instead of the more generic process start event? I need to intercept every single invocation (every single invoke within the BPEL process) and if the user is not authorized, generate an error and stop the process execution. Can I do it with Message Exchange Interceptors??
thanks again for your precious help Giorgio Il giorno gio, 28/08/2008 alle 15.18 +0200, Tammo van Lessen ha scritto: > You don't have to compile ODE but you have to compile your java class. > If you use the Axis2 deployment of Ode you can simply add your class/jar > file to ode's WEB-INF/classes or WEB-INF/libs directory respectively. > Your classes are then included in the classpath and can be referenced > within Ode. > > Best, > Tammo > > Giorgio M. wrote: > > Hi Tammo, > > > > thanks very much for your response, i'm going to look at the classes > > you've advised to me. > > I try to be more detailed about my issue: is there a way to attach a > > java class to the ODE (without compile it) that is called everytime each > > service (that compose the BPEL process) is called for the first time?? > > > > The background of my ploblem is the following: i've the necessity to > > call a profiler that control permissions (each time that a service > > inside the BPEL process is called) in order to establish whether the > > caller is authorized or not to execute that service. > > > > Any suggestion? > > > > thanks a lot > > > > Il giorno gio, 28/08/2008 alle 14.39 +0200, Tammo van Lessen ha scritto: > >> Hi Giorgio, > >> > >> you could have a look at BpelEventListener.java and > >> MessageExchangeInterceptor.java as a starting point if you want to get > >> notified by execution events or want to intercept message exchanges. > >> > >> See also [1] and [2]. > >> > >> HTH, > >> Tammo > >> > >> [1]http://ode.apache.org/user-guide.html#UserGuide-ODEExecutionEvents > >> [2]http://www.intalio.org/confluence/display/PXE/Message+Exchange+Interceptors > >> > >> Giorgio M. wrote: > >>> Hi to all, > >>> > >>> i have the necessity to modify the Apache ODE source code in order to > >>> accomplish the following task: i've designed the BPEL process in wich > >>> several web services are invoked; i have to call, before each service > >>> invocation (INVOKE operation in BPEL), an external java class > >>> (implemented by myself)! > >>> > >>> Wich part of source code should i modify (where i can put the external > >>> java class call) in order to accomplish this task?? which is the class > >>> responsible of service invocation (i mean wich is the class where INVOKE > >>> operation is executed)?? > >>> > >>> Hope somebody can help me > >>> > >>> thanks to everybody, > >>> > >>> best regards > >>> > > >
