[Spacewalk-list] Creating perl script to use Spacewalk API but getting error Could not find method create

Frey, Evan evan.frey at us.mizuho-sc.com
Mon Sep 14 18:01:41 UTC 2009


I am creating a perl script to publish errata from RHN to my Spacewalk
server.  I created the string to send to Spacewalk but when I push it I get
the following error
 
    Fault returned from XML RPC Server, fault code -1:
redstone.xmlrpc.XmlRpcFault: Could not find method create in class class
com.redhat.rhn.frontend.xmlrpc.errata.ErrataHandler
 
I'm not sure why it can't find the create class as I am running v.6 which has
the errata.create class.
 
Any ideas?
 
Line that borks:
 
$SWclient->call('errata.create',$SWsession,$RHNSynopsis,$ERRATA_NAME,$SWRelea
se,$RHNType,$SWProduct,$RHNTopic,$RHNDescription,$RHNReferences,$RHNNotes,$SW
Solution, at RHNBugs, at RHNKeywords, at Packages,$SWPublish, at Channels);


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/20090914/271e466a/attachment.htm>


More information about the Spacewalk-list mailing list