[Spacewalk-list] Clone channel method throwing error with Boolean

Frey, Evan evan.frey at us.mizuho-sc.com
Tue Dec 1 14:23:29 UTC 2009


I am trying to clone a channel and am getting the error:
Could not find translator for class java.lang.Integer to class
java.lang.Boolean

The XML being sent is

<methodCall>
<methodName>channel.software.clone</methodName>
<params>
<param><value><string>27371x472419c658e704bb6bda7359b27c67e8</string></value>
</param>
<param><value><string>rh3as-i386</string></value></param>
<param><value><struct>
<member><name>summary</name><value><string>CentOS3</string></value></member>
<member><name>name</name><value><string>CentOS3</string></value></member>
<member><name>label</name><value><string>CentOS3</string></value></member>
</struct></value>
</param>
<param><value><i4>1</i4></value></param>
</params>
</methodCall>

I have tried 1, 0, true, false.  With true/false I get 

Could not find translator for class java.lang.String to class
java.lang.Boolean

How can I specify that the 1 is a Boolean?  I am using the Perl frontier
module.



CONFIDENTIAL: This e-mail, including its contents and attachments,
if any, are confidential. It is neither an offer to buy or sell,
nor a solicitation of an offer to buy or sell, any securities or
any related financial instruments mentioned in it. If you are not
the named recipient please notify the sender and immediately delete
it. You may not disseminate, distribute, or forward this e-mail
message or disclose its contents to anybody else. Unless otherwise
indicated, copyright and any other intellectual property rights in
its contents are the sole property of Mizuho Securities USA Inc.
     E-mail transmission cannot be guaranteed to be secure or
error-free. The sender therefore does not accept liability for any
errors or omissions in the contents of this message which arise as
a result of e-mail transmission.  If verification is required
please request a hard-copy version.
     Although we routinely screen for viruses, addressees should
check this e-mail and any attachments for viruses. We make no
representation or warranty as to the absence of viruses in this
e-mail or any attachments. Please note that to ensure regulatory
compliance and for the protection of our customers and business, we
may monitor and read e-mails sent to and from our server(s).
#####################################################################################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20091201/16d29ac5/attachment.htm>


More information about the Spacewalk-list mailing list