|
Summary |
Getting an exception while deserializing a SOAP message inside Microsoft Visual Basic |
|---|---|
|
Platform |
Product: Artix Version: Artix 5.x OS: all |
| Question/Problem Description |
When invoking an Artix router from a Visual Basic Client, the following error is thrown:
The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://schemas.iona.com/idltypes/sample.idl:info. The InnerException message was 'There was an error deserializing the object of type sample.sampleNS.SampleData. The value '-NaNe0' cannot be parsed as the type 'double'.'. Please see InnerException for more details.
|
| Clarifying Information | |
| Error Message | The formatter threw an exception while trying to de-serialize the message: There was an error while trying to deserialize parameter http://schemas.iona.com/idltypes/sample.idl:info. The InnerException message was 'There was an error deserializing the object of type sample.sampleNS.SampleData. The value '-NaNe0' cannot be parsed as the type 'double'.'. Please see InnerException for more details. |
| Defect/Enhancement Number | |
| Cause | Message does not adhere to the SOAP message schema |
| Resolution |
The error thrown is a Microsoft Studio error, and not an Artix error. It is an indication that the data received does not match its schema. In this case, a double is expected, but instead a string is sent. The solution is to either |
| Workaround | |
| Notes |
#Orbix
#ArtixVisual.StudioSchema.Validation
#KnowledgeDocs