[Spce-user] SOAP Requests Failed to access Class

Matt Van Veenendaal matt at curiousminds.com
Mon Oct 1 18:45:09 EDT 2012


Hey Guys, 

First time posting to the list, searched back a few months and couldn't find anything similar.
I have a base install of CE and I'm trying to test out the SOAP API. I'm trying a request to the SOAP API using node.js:

var args = {authentication: {username: "xxx", password: "xxx", type: "admin"}, parameters: {id: "3"}}
client.get_voip_account_by_id(args, function(err, result) {
if (err) {
console.log(err.stack);
res.send("Error: " + err.stack);
return;
}
 res.send(result);
});


This is returning me with the current error on the server side:  

Error: soap:Client: Failed to access class (2009::wsdl::provisioning.wsdl) at /usr/share/perl5/SOAP/Lite.pm line 2687. at WSDL.xmlToObject 

Has anyone seen this before? Obviously i'm just getting started with this API but i'd love to have someone help me with this :)

Thanks,
-- 
Matt Van Veenendaal

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20121001/9d7462d5/attachment.html>


More information about the Spce-user mailing list