[SWS-506] All-in-one jar contains different namespace in spring.handlers than the module jars Created: 05/May/09  Updated: 04/May/12  Resolved: 12/May/09

Status: Closed
Project: Spring Web Services
Component/s: OXM
Affects Version/s: 1.5.6
Fix Version/s: 1.5.7

Type: Bug Priority: Minor
Reporter: Robert Novotny Assignee: Arjen Poutsma
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

not important


There is an inconsistency between spring.handlers from the all-in-one JAR and the spring-oxm-1.5.6.jar. Using the all-in-one-jar causes the Unable to locate Spring NamespaceHandler for XML schema namespace http://www.springframework.org/schema/oxm exception.

spring-oxm-1.5.6.jar contains the following spring.handlers:


The spring-ws-1.5.6-all.jar contains the spring.handlers:


Note the difference between namespaces (spring-ws/schema/oxm vs schema/oxm).

Since the documentation emphasizes the first namespace, the all-in-one jar is thus useless without patching the spring.handlers or using the specific namespace in the Spring context XML file.

A workaround is tou use the module JARs instead of all-in-one.

An evident solution is to unify the spring.handlers.

Comment by Arjen Poutsma [ 12/May/09 ]

Oops! Thanks for spotting this, fixed now.

Comment by Arjen Poutsma [ 04/May/12 ]

Closing old issues

Generated at Sun Nov 18 14:11:57 UTC 2018 using JIRA 7.9.2#79002-sha1:3bb15b68ecd99a30eb364c4c1a393359bcad6278.