Informix Error -4991: Operation failed while converting data from the XSD format to the SQL format
Cause and resolution
Operation failed while converting data from the XSD format to the SQL format
Ensure that input values match the input parameter types in WSDL file.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-4991 fires when a web-service input value can't be converted from XSD format to SQL format — per the official guidance.
- An input value that doesn't match its declared input-parameter type in the WSDL file, per the official guidance — the direct, only cause.
Solutions / Resolution
- Ensure input values match the input parameter types in the WSDL file, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond an input value mismatched against its WSDL parameter type.
Diagnostic Checks
- Compare each input value against its declared type in the WSDL file, and correct any mismatch.
Related Errors / Related Topics
- -4998 — "Operation failed while converting data from the SQL format to the XSD format." The complementary conversion failure — SQL-to-XSD (output) rather than XSD-to-SQL (input).
Converting an input value from XSD to SQL format failed — ensure input values match the WSDL's declared parameter types.