The validator plugin can validate SOAP request and response messages against WSDL descriptions.
-
Go to
<membrane-root>/examples/web-services-soap/soap-wsdl-validation -
Start
membrane.cmdormembrane.sh -
Run the following command, observe a successful response:
curl -H "Content-Type: application/xml" -d @city-soap.xml http://localhost:2000/ -
Run this next command and observe that verification fails:
curl -H "Content-Type: application/xml" -d @invalid-city-soap.xml http://localhost:2000/
See: apis.yaml