I posted this (https://fedorahosted.org/spacewalk/wiki/SpacewalkApiPerlGuide)
a couple of years ago.  The very last example explains what you need
to do.

CC

On Wed, Oct 20, 2010 at 8:48 PM, Sascha Bendix <[email protected]> wrote:
> 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.
>
>
> _______________________________________________
> Spacewalk-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>



-- 
RHCE#805007969328369

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to