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