Problem: SOAP version mismatch
There may be scenarios where in you wanted to change the SOAP protocol. Since some of your partners might be using 1.1 and some might be using 1.2.
The best practice is to create a process with SOAP Version 1.1 and create a wrapper service calling 1.1 and create it as 1.2.
By this you are dually compatible and it wont affect any of your external or internal partners.
By default whenever a service is defined, it is SOAP 1.1 by default.
In order to change it to 1.2
There may be scenarios where in you wanted to change the SOAP protocol. Since some of your partners might be using 1.1 and some might be using 1.2.
The best practice is to create a process with SOAP Version 1.1 and create a wrapper service calling 1.1 and create it as 1.2.
By this you are dually compatible and it wont affect any of your external or internal partners.
By default whenever a service is defined, it is SOAP 1.1 by default.
In order to change it to 1.2
- Go to Composite.xml
- Go to the binding section
- Either you can add this text soapVersion="1.2" in binding.ws tag.
No comments:
Post a Comment