0 Replies Latest reply on Jan 20, 2010 10:38 AM by cuccu83

    integration riftsaw with jboss AOP for substitution of services semantically equivalent

      Hi, i try to integrate jboss AOP with riftsaw 2.0 M1 for my thesis work at the university.

      I tried examples in "injboss" section and they run correctly.

       

       

      When i try to intercept a method of riftsaw [org.apache.ode.axis2.soapbinding.SoapExternalService-> invoke() ] during the execution of a web services within wotkflowi obtain an exception. Why i obtain that error a runtime ? I'm using jboss 5.1.0 jdk6,  jboss AOP  2.1.5 and my aop.xml file is so simple :

       

       

      15:31:33,251 ERROR [Instrumentor] [warn] AOP Instrumentor failed to transform or
      g.apache.ode.axis2.soapbinding.SoapMessageConverter
      javassist.CannotCompileException: [source error] no such a constructor
              at javassist.CtBehavior.setBody(CtBehavior.java:368)
              at javassist.CtBehavior.setBody(CtBehavior.java:334)
      

       

       

       

      <?xml version="1.0" encoding="UTF-8"?>
      <aop xmlns="urn:jboss:aop-beans:1.0">
      
      <prepare expr="all(org.apache.ode.axis2.soapbinding.SoapExternalService)" />
      
      <interceptor class="test.aop.Simplex" scope="PER_VM"/>
      
      <bind pointcut="execution(* $instanceof{org.apache.ode.axis2.soapbinding.SoapExternalService}->invoke(..))" >
      <interceptor-ref name="test.aop.Simplex" />
      </bind>
      </aop>
      

       

      Please to help me !!!