[SWS-346] HandlerAdapter for XsdSchemas Created: 01/May/08  Updated: 21/Jul/08  Resolved: 30/Jun/08

Status: Closed
Project: Spring Web Services
Component/s: Core
Affects Version/s: 1.5
Fix Version/s: 1.5.3

Type: New Feature Priority: Major
Reporter: Arjen Poutsma Assignee: Arjen Poutsma
Resolution: Fixed Votes: 5
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
supersedes SWS-281 add support for imported xsd in stati... Closed


Create a HandlerAdapter that can expose implementations of the XsdSchema interface. Similar to the transformLocations on the WsdlDefinitionHandlerAdapter, this adapter should transform any import/include schemaLocations.

Comment by Arjen Poutsma [ 30/Jun/08 ]

Done. Also, the handler adapter is integrated in the MessageDispatcherServlet, so that it automatically exposes all XsdSchema instances in the application context, under ${bean_name}.xsd. This is consistent with the WSDL exposing behavior.

I decided not to add any transformation logic for now, because I couldn't think of a solution which would work in all situations (absolute reference URI's, XSDs contained in jars, etc). Subclasses can add this behavior though, in the getSchemaSource() template method.

Comment by Arjen Poutsma [ 21/Jul/08 ]

Closing issues in 1.5.3

Generated at Sat Dec 15 22:24:18 UTC 2018 using JIRA 7.9.2#79002-sha1:3bb15b68ecd99a30eb364c4c1a393359bcad6278.