Error Using Web Service AgilePart: Object Must Implement IConvertible

Applies To

Error

"Error executing web service method (WebMethodName) : Object must implement IConvertible."

Steps to Reproduce

This error occurs when a web method's output type needs to implement IConvertible interface in order for the web method to be used with the Web Service AgileShape.

Details

In some cases, the Type of the object instance returned by a web method may need to implement the IConvertible interface in order for the web method to be used with the Web Service AgileShape.