[Spacewalk-list] Error when scheduling a package install via xmlrpc

Sascha Bendix sascha.bendix at 360t.com
Wed Oct 20 12:48:32 UTC 2010


Hi,

I currently try to do a software package installation via the xmlrpc interface. 

Therefore I use the xmlrpc call system.schedulePackageInstall with session id, system id, an array with all the package id and an iso8601 timestamp. An example in perl would be:

$client->call('system.schedulePackageInstall', '263075xf07697df3838a4d52df46800dd74b791', '1000010075', [ '23629' ], '2010-10-20T14:43:44+02:00');

I get the following exception:

Fault returned from XML RPC Server, fault code -1: com.redhat.rhn.common.translation.TranslationException: for class java.lang.String to class java.util.Date

Can anyone confirm or disprove this or tell me what my mistake is?

Regards,

Sascha

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





More information about the Spacewalk-list mailing list