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

Soap 1.1 and 1.2 in same application #1333

Open
mconner opened this issue Feb 10, 2023 · 1 comment
Open

Soap 1.1 and 1.2 in same application #1333

mconner opened this issue Feb 10, 2023 · 1 comment

Comments

@mconner
Copy link

mconner commented Feb 10, 2023

The reference doc describes changing the configuration to use an SaajSoapMessageFactory configured to use soap 1.2. However, I'm trying to convert several jakarta.jws webservices to spring-ws. Some of the services use:
@BindingType(jakarta.xml.ws.soap.SOAPBinding.SOAP12HTTP_MTOM_BINDING)

Is there some way to define an application which contains a mix of soap 1.1 and 1.2 endpoints? I assume this would start with defining more than one messageFactory, but I don't see how to configure which endpoints make use of what message factory.

Thanks.

@lmedinar-va
Copy link

Try what's described here https://stackoverflow.com/a/72771842, in my case spring was smart enough to reply with the version it was using in its request.

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

No branches or pull requests

2 participants