Soap 1.1 and 1.2 in same application
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.
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.