Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-203

Namespace declarations may be removed from the wsdl when transformWsdlLocations = true

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.1
    • Fix Version/s: 1.0.2
    • Component/s: None
    • Labels:
      None

      Description

      See http://forum.springframework.org/showthread.php?t=44599

      When a SimpleWsdl11Definition is used in combination with transformWsdlLocations=true, namespace declarations are removed which leads to an invalid wsdl.

      Resetting transfromWsdlLocations to false resolves the issue (with the penalty that the wsdl locations are no longer transformed).

      1. sws-203.patch
        1 kB
        Erik-Berndt Scheper
      2. sws-203-tests.patch
        10 kB
        Erik-Berndt Scheper

        Activity

        Hide
        fbascheper Erik-Berndt Scheper added a comment -

        Both testcases run successfully in my environment with the attached patch for SimpleWsdl11Definition.java

        Show
        fbascheper Erik-Berndt Scheper added a comment - Both testcases run successfully in my environment with the attached patch for SimpleWsdl11Definition.java
        Hide
        fbascheper Erik-Berndt Scheper added a comment -

        (Verified on all the above runtimes)

        Show
        fbascheper Erik-Berndt Scheper added a comment - (Verified on all the above runtimes)
        Hide
        fbascheper Erik-Berndt Scheper added a comment -

        And a separate patch file for the new tests.

        Note that I get one failing test if I run mvn package inside the core directory without having applied the patch for the SimpleWsdl11Definition.
        All tests succeed if I run mvn package after both patches have been applied.
        Apparently mvn package always includes xalan in the path, since my default java version is 1.5.0_12.

        Show
        fbascheper Erik-Berndt Scheper added a comment - And a separate patch file for the new tests. Note that I get one failing test if I run mvn package inside the core directory without having applied the patch for the SimpleWsdl11Definition. All tests succeed if I run mvn package after both patches have been applied. Apparently mvn package always includes xalan in the path, since my default java version is 1.5.0_12.
        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        Fixed. Thanks for the patch!

        Show
        arjen.poutsma Arjen Poutsma added a comment - Fixed. Thanks for the patch!
        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        Closing 1.0.2 issues.

        Show
        arjen.poutsma Arjen Poutsma added a comment - Closing 1.0.2 issues.

          People

          • Assignee:
            arjen.poutsma Arjen Poutsma
            Reporter:
            fbascheper Erik-Berndt Scheper
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: