1. Google Cloud Apigee Documentation
"XML to JSON policy": "The XMLtoJSON policy lets you convert messages from the Extensible Markup Language (XML) format to JavaScript Object Notation (JSON)." This directly confirms that XMLToJSON is the correct policy for converting XML-based messages like SOAP into JSON.
Source: Google Cloud
Apigee Documentation
Policy reference
XML to JSON policy.
2. Google Cloud Apigee Documentation
"Assign Message policy": "The AssignMessage policy changes or creates new request and response messages during an API proxy flow. It lets you perform...Set the payload of a message." While it can set a payload
it does not perform the complex logic of format conversion itself.
Source: Google Cloud
Apigee Documentation
Policy reference
Assign Message policy.
3. Google Cloud Apigee Documentation
"Message Validation policy": "The MessageValidation policy validates a request or response message against a defined schema...For XML messages
Apigee uses the XML Schema Definition (XSD)." This clearly defines its purpose as validation
not transformation.
Source: Google Cloud
Apigee Documentation
Policy reference
Message Validation policy.
4. Google Cloud Apigee Documentation
"Policy reference overview": A review of the complete list of available policies in the official Apigee documentation confirms that a policy named SOAPToJSON does not exist.
Source: Google Cloud
Apigee Documentation
Policy reference overview.