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

Wrong JAX-RS web service URL in Web Service Tester after setting query parameters in "WS Tester: URL parameters" dialog

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.3.0.CR1
    • 3.3.0.Beta3
    • webservices
    • None
    • Workaround Exists
    • Hide

      Manually add one slash after http protocol in URL text field.

      Show
      Manually add one slash after http protocol in URL text field.

      When I invoke Web Service Tester with Context Menu of JAX-RS method in JAX-RS explorer, URL of JAX-RS web service is correct: in my case: "http://localhost:8080/project2/MyRESTApplication/query?name=

      {name:java.lang.String}

      ". When I click on Invoke button, dialog for setting parameters is shown. So I set "name" query parameter and click OK. After this step, URL in Web Service Tester has changed to "http:/localhost:8080/project2/MyRESTApplication/query?name=user". There is one less slash after http:. Response on this URL is "Connection Refused". If you add one slash after http:, everything is working again

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

              Created:
              Updated:
              Resolved: