Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-1088

document handling of case where spring aop breaks wsdl generation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.2
    • 2.0.3
    • None
    • None
    • Services deployed to Tomcat 5.5 as webapp. Java 5 codebase.

    Description

      Wsdl generation fails when my service interfaces are wrapped using Spring AOP (for database transactions). If I change to wrapping my implementation classes, the wsdl can now be generated. However, the following error occurs when attempting to invoke a service from an independent java client application:

      org.apache.cxf.interceptor.Fault: No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here.

      I have another Spring dispatcher servlet and GWTHandler that is used for handling GWT requests against the same POJOs. Works fine. I also had it working with XFire and Aegis binding prior to CXF merger. After upgrade, decided to go with JAX-WS, but have come to the aforementioned stopping point.

      V/R,

      Tom

      Attachments

        Activity

          People

            Unassigned Unassigned
            tschroedl Tom Schroedl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: