Uploaded image for project: 'ServiceMix Components'
  1. ServiceMix Components
  2. SMXCOMP-790

IllegalStateException Deploying CXF-SE Service Unit with JAX-WS Binding Files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • servicemix-cxf-se-2010.01
    • None
    • servicemix-cxf-se
    • None

    Description

      I need to use a binding file to customize the generated classes for my services (specifically generateMixedExtensions). The cxf-codegen-plugin correctly observes the binding file and generates the correct classes, but the cxf-se component throws an IllegalStateException deploying the SU. Without the binding file, my service deploys properly.

      If I specify version jaxb-xjc and jaxb-impl version 2.1.3 as plugin dependencies for the cxf-codegen-plugin then it deploys. I've tried building a servicemix-cxf-bc based on the 2010.01 tag but with 2.2.1.1 XJC but still get the same IllegalStateException.

      The service also starts correctly with the binding file on standalone CXF version 2.2.9.

      Information on this specific binding customization, if relevant, can be found at http://blogs.sun.com/mgrebac/entry/handling_extended_mixed_content_in.

      Attachments

        1. pom.xml
          2 kB
          Dan Powell
        2. jaxb-bindings-test-cxf-revision.tar
          30 kB
          Freeman Yue Fang
        3. jaxb-bindings-test-cxf.tar.gz
          2 kB
          Dan Powell
        4. jaxb-bindings-test.tar.gz
          2 kB
          Dan Powell
        5. generated-sources.diff
          3 kB
          Dan Powell

        Activity

          People

            ffang Freeman Yue Fang
            dan@abakas.com Dan Powell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: