LordVeovis / xmlrpc

A port of CookComputing.XmlRpcV2 for dotnet core 2
MIT License
33 stars 21 forks source link

instead of error messages we always get `fault response : struct mapped to type Fault` #9

Closed lorddev closed 5 years ago

lorddev commented 5 years ago

Since updating to this .NET Core project from the regular Cook .NET one, instead of error messages we always get fault response : struct mapped to type Fault

LordVeovis commented 5 years ago

hi, can you specify the used version of the library?

lorddev commented 5 years ago

We forked from your repo in October https://github.com/lorddev/xmlrpc

lorddev commented 5 years ago

@LordVeovis here is the full error:

fault response contains struct value with missing non-optional members: FaultCode FaultString [fault response : struct mapped to type Fault]

LordVeovis commented 5 years ago

I integrated #8 some times ago, which fix this error. Mainly when there is an exception from one endpoint, the error is transmitted using the Fault struct. When I modified the Cook's lib to be compatible with .netcore, I did change the case on the Fault properties (FaultCode instead of faultCode, and FaultString instead of faultString).

If you take the last version (1.1.1+) on nuget or merge the update, this should resolve the issue.

lorddev commented 5 years ago

Thank you. I have merged from upstream and it prints out the exception info I need now.