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

add support for imported xsd in static wsdl as well as xsd's that import other xsd's

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.1
    • Component/s: Core
    • Labels:
      None
    • Environment:
      Spring WS 1.0.2

      Description

      Currently, Spring WS does not seem to have support for serving up xsd's that are imported into static wsdl. There is also no support for xsd's that import other xsd's. Both situations are considered best practices by schema and wsdl designers.

      The schemaLocation attribute should be transformed in the same way that the location attribute is transformed for wsdl's today to include the request specific server info depending on where the application is deployed.

      Usage Examples:

      wsdl (with imported xsd)
      request
      http://localhost:7001/Services/8.02/Example?wsdl

      response (partial)
      <wsdl:definitions name="Example" targetNamespace="http://services">
      <wsdl:types>
      <xs:schema>
      <xs:import namespace="http://customer/types" schemaLocation="http://localhost:7001/Services/8.02/Example?Customer.xsd"/>
      </xs:schema>
      </wsdl:types>

      xsd (with imported xsd)
      request
      http://localhost:7001/Services/8.02/Example?Customer.xsd

      response (partial)
      <xs:schema targetNamespace="http://customer/types">
      <xs:import namespace="http://order/types" schemaLocation="http://localhost:7001/Services/8.02/Example?Order.xsd"/>

        Issue Links

          Activity

          lafondoo Mark LaFond created issue -
          lafondoo Mark LaFond made changes -
          Field Original Value New Value
          Attachment springws.zip [ 13615 ]
          arjen.poutsma Arjen Poutsma made changes -
          Fix Version/s 1.5 RC1 [ 10652 ]
          arjen.poutsma Arjen Poutsma made changes -
          Link This issue is related to SWS-271 [ SWS-271 ]
          arjen.poutsma Arjen Poutsma made changes -
          Link This issue depends on SWS-179 [ SWS-179 ]
          arjen.poutsma Arjen Poutsma made changes -
          Link This issue depends on SWS-179 [ SWS-179 ]
          arjen.poutsma Arjen Poutsma made changes -
          Link This issue is related to SWS-179 [ SWS-179 ]
          arjen.poutsma Arjen Poutsma made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          arjen.poutsma Arjen Poutsma made changes -
          Link This issue is duplicated by SWS-250 [ SWS-250 ]
          arjen.poutsma Arjen Poutsma made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          arjen.poutsma Arjen Poutsma made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          arjen.poutsma Arjen Poutsma made changes -
          Status Closed [ 6 ] Reopened [ 4 ]
          Resolution Fixed [ 1 ]
          arjen.poutsma Arjen Poutsma made changes -
          Fix Version/s 1.5 RC1 [ 10652 ]
          Fix Version/s 1.5 [ 10653 ]
          arjen.poutsma Arjen Poutsma made changes -
          Fix Version/s 1.5.1 [ 10917 ]
          Fix Version/s 1.5 [ 10653 ]
          arjen.poutsma Arjen Poutsma made changes -
          Link This issue is superseded by SWS-346 [ SWS-346 ]
          arjen.poutsma Arjen Poutsma made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              arjen.poutsma Arjen Poutsma
              Reporter:
              lafondoo Mark LaFond
            • Votes:
              8 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: