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

Default value for SimpleSoapExceptionResolver [SWS-872] #946

Closed
gregturn opened this issue Mar 31, 2014 · 1 comment
Closed

Default value for SimpleSoapExceptionResolver [SWS-872] #946

gregturn opened this issue Mar 31, 2014 · 1 comment

Comments

@gregturn
Copy link
Member

Richard opened SWS-872 and commented

The SimpleSoapExceptionResolver is responsible for generating a part of the soap fault. This class defines the language of the soap fault default to English.

When retrieving the soap fault we use the org.springframework.ws.soap.SoapFault.getFaultStringOrReason() which is implemented by AxiomSoap12Fault which uses the Locale.getDefault to resolve the fault text.

It would be nice if the default are the same


No further details from SWS-872

@gregturn
Copy link
Member Author

gregturn commented Apr 8, 2014

Arjen Poutsma commented

I'm afraid we can't change this, as it would break backward compatibility with earlier releases.

That said, the locale used by the SimpleSoapExceptionResolver is a property, so you can change it to whatever you like. You could also subclass the SimpleSoapExceptionResolver, and override the getLocale() method to return Locale.getDefault() instead.

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