medasani456 / xmlrpcnet

Automatically exported from code.google.com/p/xmlrpcnet
0 stars 0 forks source link

Support serialization of System.Decimal #58

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Add support for decimal serialization. Currently it throws:

CookComputing.XmlRpc.XmlRpcUnsupportedTypeException: A parameter is of, or 
contains an instance of, type MyType which cannot be 
mapped to an XML-RPC type
   at CookComputing.XmlRpc.XmlRpcSerializer.SerializeRequest(Stream stm, XmlRpcRequest request) in 
C:\prg\openx.net\xmlrpc\XmlRpcSerializer.cs:line 155
   at CookComputing.XmlRpc.XmlRpcClientProtocol.Invoke(Object clientObj, MethodInfo mi, Object[] parameters) in 
C:\prg\openx.net\xmlrpc\XmlRpcClientProtocol.cs:line 184
   at CookComputing.XmlRpc.XmlRpcClientProtocol.Invoke(MethodInfo mi, Object[] Parameters) in 
C:\prg\openx.net\xmlrpc\XmlRpcClientProtocol.cs:line 117
   at XmlRpcProxybc8fa932-0042-4563-a5b7-190ebea99584.AddCampaign(String sessionId, Campaign campaign)
   at OpenXNet.SessionImpl.AddCampaign(Campaign campaign) in C:\prg\openx.net\OpenXNet\SessionImpl_Campaign.cs:line 22
   at OpenXNet.Tests.SessionTests.AddCampaign() in C:\prg\openx.net\OpenXNet.Tests\SessionTests.cs:line 51

Original issue reported on code.google.com by mauricio...@gmail.com on 11 Aug 2009 at 2:53

GoogleCodeExporter commented 8 years ago
Let me know if you need a testcase for this...

Original comment by mauricio...@gmail.com on 11 Aug 2009 at 2:53

GoogleCodeExporter commented 8 years ago
Decimal values are not supported by the XML-RPC specification.

Original comment by ChasC...@gmail.com on 22 May 2010 at 3:53