Hi,
I am getting error following while validating in SOAP Message Policy
SOAP-Message-Validation failed with reason: “Value outside the enumeration list used”
My SOAP Message Validator looks like below
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> SOAP Message Validation DoInquiry
request wsdl://Reqired.wsdl
This passes via Extract Policy and gets into SOAP Message Policy where it fails.
Can you help or indicate more details on indicated error
@Abiram
Looks like your request SOAP message is using a value that is not part of an enumeration list that is specified in your Reqired.wsdl
Please validate if the SOAP message is correct with respect to the wsdl you are validating against.
I can only assume this with the details you have provided.
@Sai Saran Vaidyanathan SOAP Message validation policy have 3 criteria of validation.
First and Second criteria
xmlns which is matching with HeadeNamespace and SOAP Method NameSpace (ie xmlns)
Third Criteria
: The name of method is also matching
Can you please elaborate on which part of mismatch ?
Below is my sample SOAP request
<?xml version="1.0" encoding="utf-8"?>
<soapxxx:Envelope RequiredNamespace information…">
soapxxx:Header
Required Credentials info…
</soapxxx:Header>
soapxxx:Body
Multiple Name value info….
Xml or RawRequiredData
</soapxxx:Body>
</soapxxx:Envelope>
Thanks for the info @Abiram
Can you share the wsdl ?
Thanks @Sai Saran Vaidyanathan I verified the WSDL Vs the Request . And saw the request had a mismatching enumeration list Vs WSDL.
This request was given to me as working, but realized that it required changes to enumeration list restrictions after detailed analysis. thanks for your help
Cool.. Glad that did the trick ! Please reach out to the community if you need any thing