RTC Forums

Subscription => Support => Topic started by: xacom on June 28, 2010, 07:59:49 AM



Title: XML-RPC dateTime.iso8601 case sensitive
Post by: xacom on June 28, 2010, 07:59:49 AM
Hi,

I am using RTC (2010 Q2) as a client to an already existing XML-RPC server.
When a datetime is added as a parameter and sent to the server its type is "datetime.iso8601". The server appears to be case sensitive and refuses to accept this as a valid parameter.

My understanding is that XML is case sensitive, and XML-RPC defines the type as "dateTime.iso8601", therefore at this point I cannot criticize the server and am wondering if there is a reason why RTC uses "datetime.iso8601".

The associated code is at line 9706 in RTCinfo.pas.

Simply changing the code and recompiling the components works for me in the short term, however I would prefer the output of RTC to match the XML-RPC specification if possible.

Thanks,
Daniel


Title: Re: XML-RPC dateTime.iso8601 case sensitive
Post by: D.Tkalcec (RTC) on June 28, 2010, 08:50:11 AM
You are correct, the XML-RPC type name for date/time should be <dateTime.iso8601>. I have fixed this in my local copy now and will release it as an official update later today (RTC SDK Build 395).

Best Regards,
Danijel Tkalcec


Title: Re: XML-RPC dateTime.iso8601 case sensitive
Post by: D.Tkalcec (RTC) on June 28, 2010, 08:55:41 AM
Done.

Btw ... Thanks for reporting this.

Best Regards,
Danijel Tkalcec


Title: Re: XML-RPC dateTime.iso8601 case sensitive
Post by: xacom on June 28, 2010, 09:40:30 AM
Thanks very much Danijel, your prompt response and quick build is much appreciated.