[Spce-user] SOAP Requests Failed to access Class

Matt Van Veenendaal matt at curiousminds.com
Mon Oct 1 18:55:42 EDT 2012


Here's the generated soap request too:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"  xmlns:tns="http://dev.sipwise.com/2009/wsdl/provisioning.wsdl" xmlns:typens="http://dev.sipwise.com/2009/schema/provisioning_types.xsd"><soap:Header></soap:Header><soap:Body><tns:get_voip_account_by_id><authentication><username>xxx</username><password>xxx</password><type>admin</type></authentication><parameters><id>3</id></parameters></tns:get_voip_account_by_id></soap:Body></soap:Envelope> 

-- 
Matt Van Veenendaal


On Monday, October 1, 2012 at 3:45 PM, Matt Van Veenendaal wrote:

> 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/pipermail/spce-user_lists.sipwise.com/attachments/20121001/ff1c18fd/attachment-0001.html>


More information about the Spce-user mailing list