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

Error is thrown in error log when testing improper URL of Web Service with Web Service Tester

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 4.2.x
    • 3.3.0.Beta1
    • webservices
    • Hide

      These are steps how I found this issue, there surely is the shorter way:

      EXECUTE: Create dynamic web project
      EXECUTE: Create sample web service
      EXECUTE: Create Bottom-up web service from class created in previous step, make sure "Generate WSDL file" is checked, don't edit wsdl file
      EXECUTE: Deploy web service
      EXECUTE: Click on context menu(Web Services -> Test in JBoss Web Service Tester) of generated wsdl file
      EXECUTE: Click "Get from WSDL" button
      ASSERT: Request body is filled according to wsdl file
      EXECUTE: Click "Invoke" button
      ASSERT: Response body contains MalformedURLException because wsdl file doesn't contain proper url location. (no error in error log)
      FAIL: Error in error log is thrown and Response body contains MalformedURLException because wsdl file doesn't contain proper url location.

      Show
      These are steps how I found this issue, there surely is the shorter way: EXECUTE: Create dynamic web project EXECUTE: Create sample web service EXECUTE: Create Bottom-up web service from class created in previous step, make sure "Generate WSDL file" is checked, don't edit wsdl file EXECUTE: Deploy web service EXECUTE: Click on context menu(Web Services -> Test in JBoss Web Service Tester) of generated wsdl file EXECUTE: Click "Get from WSDL" button ASSERT: Request body is filled according to wsdl file EXECUTE: Click "Invoke" button ASSERT: Response body contains MalformedURLException because wsdl file doesn't contain proper url location. (no error in error log) FAIL: Error in error log is thrown and Response body contains MalformedURLException because wsdl file doesn't contain proper url location.
    • ?

    Description

      In my opinion, if I want to test some web service with Web Service tester and provide some wsdl file with improper URL location, message in Response Body should be adequate. There is no need to throw error in error log.

      Attachments

        Activity

          People

            bfitzpat_rh Brian Fitzpatrick (Inactive)
            jjankovi Jaroslav Jankovič (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: