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

Top-Down WS deployment isn't successful when selecting Start/Test service in Web Service dialog

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • LATER
    • 4.1.1.CR1
    • webservices
    • Hide

      STEP: Start the server

      STEP: Create Enterprise Application Project with application.xml deployment descriptor
      (select the "Generate application.xml deployment descriptor" on the second page of the wizard)

      STEP: Create Dynamic Web Project with adding it into created EAR
      (select "Add project to an EAR" and in combo box select the project created in previous step)

      STEP: Create New WSDL file (File > New > Other... > Web Services > WSDL File) in dynamic web project

      STEP: Open Web Service dialog window (File > New > Other... > Web Services > Web Service)

      STEP: Set Web Service to Top-down in start/test service mode and with no client:
      -Web Service type: Top down Java bean Web Service
      -Service definition: (browse to created wsdl file)
      -Move slider to "Start service" or "Test service"
      -Configuration: Web service runtime: JBossWS
      (and make sure that the bottom slider is set to "No client")

      STEP: Click on the button "Next" twice (until you get to the page Web Service Publication) and then on the button "Finish"

      ASSERT: No exception in console output
      FAIL: ClassNotFoundException was thrown

      ASSERT: Deployed web service is accessible (try to reach wsdl file http://localhost:8080/<project name>/<wsdl file name>?wsdl)
      FAIL: HTTP status 404

      Show
      STEP: Start the server STEP: Create Enterprise Application Project with application.xml deployment descriptor (select the "Generate application.xml deployment descriptor" on the second page of the wizard) STEP: Create Dynamic Web Project with adding it into created EAR (select "Add project to an EAR" and in combo box select the project created in previous step) STEP: Create New WSDL file (File > New > Other... > Web Services > WSDL File) in dynamic web project STEP: Open Web Service dialog window (File > New > Other... > Web Services > Web Service) STEP: Set Web Service to Top-down in start/test service mode and with no client: -Web Service type: Top down Java bean Web Service -Service definition: (browse to created wsdl file) -Move slider to "Start service" or "Test service" -Configuration: Web service runtime: JBossWS (and make sure that the bottom slider is set to "No client") STEP: Click on the button "Next" twice (until you get to the page Web Service Publication) and then on the button "Finish" ASSERT: No exception in console output FAIL: ClassNotFoundException was thrown ASSERT: Deployed web service is accessible (try to reach wsdl file http://localhost:8080/ <project name>/<wsdl file name>?wsdl) FAIL: HTTP status 404
    • Hide

      Redeploy the project

      Show
      Redeploy the project
    • -

      Deployment isn't successful when Top-Down web service is created with slider level selected to "Start service" or "Test service". Project is deployed to the server but the service endpoint isn't added so the service is not accessible.

      It works with other slider levels and all levels works when the server isn't started before the web service is created.

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

                Created:
                Updated: