RTC Forums
November 25, 2024, 02:29:23 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: XML-RPC dateTime.iso8601 case sensitive  (Read 5793 times)
xacom
RTC License
***
Posts: 4


« 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
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #1 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
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #2 on: June 28, 2010, 08:55:41 AM »

Done.

Btw ... Thanks for reporting this.

Best Regards,
Danijel Tkalcec
Logged
xacom
RTC License
***
Posts: 4


« Reply #3 on: June 28, 2010, 09:40:30 AM »

Thanks very much Danijel, your prompt response and quick build is much appreciated.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.023 seconds with 16 queries.