Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All-in-one jar contains different namespace in spring.handlers than the module jars [SWS-506] #636

Closed
gregturn opened this issue May 5, 2009 · 2 comments
Assignees
Milestone

Comments

@gregturn
Copy link
Contributor

gregturn commented May 5, 2009

Robert Novotny opened SWS-506 and commented

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:

http\://www.springframework.org/schema/oxm=org.springframework.oxm.config.OxmNamespaceHandler

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

http://www.springframework.org/spring-ws/schema/oxm=org.springframework.oxm.config.OxmNamespaceHandler
http://www.springframework.org/spring-ws/schema/sws=org.springframework.ws.config.WebServicesNamespaceHandler

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.


Affects: 1.5.6

Referenced from: commits 926eacc

@gregturn
Copy link
Contributor Author

Arjen Poutsma commented

Oops! Thanks for spotting this, fixed now.

@gregturn
Copy link
Contributor Author

gregturn commented May 4, 2012

Arjen Poutsma commented

Closing old issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants