Uploaded image for project: 'JBoss ESB'
  1. JBoss ESB
  2. JBESB-3925

Please fix relative URL fixer in SOAPProxyWsdlLoader

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.12
    • Fix Version/s: 4.13
    • Component/s: Web Services
    • Labels:
      None
    • Environment:

      Any

    • Steps to Reproduce:
      Hide

      Add the single-line to the unit test, try it. (It should fail.)
      Then add the suggested change to the regEx replacer in the fixRelative method. All Unit tests past and present should pass.

      Show
      Add the single-line to the unit test, try it. (It should fail.) Then add the suggested change to the regEx replacer in the fixRelative method. All Unit tests past and present should pass.

      Description

      Method 'fixRelative' in SOAPProxyWsdlLoader doesn't act properly when a URL contains a single character component.
      Example: Looking for an XSD in a location like "/7/MySchema.xsd" will fail

      Please examine the attached Unit Test and implementation class diff file, apply if it's correct or enhance if it's lacking.

      Thank you!

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tcunning Thomas Cunningham
                  Reporter:
                  rick_wagner Rick Wagner
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: