hi,
In Mendix, the SOAP version to use for a Consumed Web Service is not a choice — it is determined by the WSDL.
When you import a WSDL in Mendix:
- Mendix automatically detects whether the service uses SOAP 1.1 or SOAP 1.2
- The generated consumed web service will use that SOAP version internally
- You should not manually change the SOAP version
Mendix-specific details
- SOAP 1.1
- Binding uses
soap:binding - Content-Type:
text/xml
- SOAP 1.2
- Binding uses
soap12:binding - Content-Type:
application/soap+xml
Mendix reads this directly from the WSDL and sends requests accordingly.
Best practice (Mendix)
- Always import the official WSDL provided by the service
- Do not assume or force SOAP 1.1 or 1.2
- If the service fails, check:
- The WSDL binding section
- Provider documentation
Using the wrong SOAP version will cause the service to fail, even if the request structure looks correct.