Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-16222

Web services with CXF 2.x runtime deployment with Exceptions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • 4.2.0.CR1
    • 4.1.1.CR1
    • webservices
    • None
    • Hide

      1. Set CXF 2.x and server runtime
      STEP: Add EAP 6.1
      STEP: Add CXF 2.x runtime (Open Preferences > Web Services > CXF 2.x Preferences > Add...)
      STEP: Select added CXF runtime and also select option "Export runtime libraries to WEB-INF/lib at deployment time"

      2. Create Dynamic web Project with WSDL file:
      STEP: Create Dynamic Web Project
      STEP: Create WSDL file (File > New > Other... > Web Services > WSDL File

      3. Create Top Down Web service with Apache CXF 2.x as WS runtime:
      STEP: Open Web Service dialog window (File > New > Other... > Web Services > Web Service)
      STEP: Select Top down Java bean Web Service
      STEP: Browse to the created WSDL file
      STEP: Set Web service runtime to Apache CXF 2.x
      STEP: Set service generation slider to Assemble/Develop service
      STEP: Click on the button "Next >" three times and then finally click on the button "Finish"

      4. Deploy
      STEP: Start the server and then Run the project on the server
      ASSERT: Project is deployed
      ASSERT: No Exception in console
      FAIL: There are Exceptions in console (DeploymentUnitProcessingException: JBAS011054: Could not find default constructor for class org.apache.cxf.transport.http.Servlet3ContinuationProvider$Servlet3Continuation)

      Show
      1. Set CXF 2.x and server runtime STEP: Add EAP 6.1 STEP: Add CXF 2.x runtime (Open Preferences > Web Services > CXF 2.x Preferences > Add...) STEP: Select added CXF runtime and also select option "Export runtime libraries to WEB-INF/lib at deployment time" 2. Create Dynamic web Project with WSDL file: STEP: Create Dynamic Web Project STEP: Create WSDL file (File > New > Other... > Web Services > WSDL File 3. Create Top Down Web service with Apache CXF 2.x as WS runtime: STEP: Open Web Service dialog window (File > New > Other... > Web Services > Web Service) STEP: Select Top down Java bean Web Service STEP: Browse to the created WSDL file STEP: Set Web service runtime to Apache CXF 2.x STEP: Set service generation slider to Assemble/Develop service STEP: Click on the button "Next >" three times and then finally click on the button "Finish" 4. Deploy STEP: Start the server and then Run the project on the server ASSERT: Project is deployed ASSERT: No Exception in console FAIL: There are Exceptions in console (DeploymentUnitProcessingException: JBAS011054: Could not find default constructor for class org.apache.cxf.transport.http.Servlet3ContinuationProvider$Servlet3Continuation)

      Exceptions occurs during deployment of Web Service with CXF 2.4.6 runtime on EAP 6.1 . Project is successfully deployed but "org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011054" is thrown during deployment

        1. cxf server.log
          45 kB
          Radoslav Rábara

            bfitzpat_rh Brian Fitzpatrick (Inactive)
            rrabara Radoslav Rábara (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: