<div>
Here's the generated soap request too:</div><div><br></div><div><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></div>
<div><div><br></div><div>-- </div><div>Matt Van Veenendaal</div><div><br></div></div>
<p style="color: #A0A0A8;">On Monday, October 1, 2012 at 3:45 PM, Matt Van Veenendaal wrote:</p>
<blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
<span><div><div>
<div>
Hey Guys,
</div><div><br></div><div>First time posting to the list, searched back a few months and couldn't find anything similar.</div><div>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:</div><div><br></div><div><div><span style="white-space:pre"> </span>var args = {authentication: {username: "xxx", password: "xxx", type: "admin"}, parameters: {id: "3"}}</div><div><span style="white-space:pre"> </span>client.get_voip_account_by_id(args, function(err, result) {</div><div><span style="white-space:pre"> </span>if (err) {</div><div><span style="white-space:pre"> </span>console.log(err.stack);</div><div><span style="white-space:pre"> </span>res.send("Error: " + err.stack);</div><div><span style="white-space:pre"> </span>return;</div><div><span style="white-space:pre"> </span>}</div><div><span style="white-space:pre"> </span> res.send(result);</div><div><span style="white-space:pre"> </span>});</div></div>
<div><div><br></div><div>This is returning me with the current error on the server side: <span style="font-family: Times; font-size: 13px; "> </span></div><div><span style="font-size: 13px; "><br></span></div><div><span style="font-size: 13px; ">Error: soap:Client: Failed to access class (2009::wsdl::provisioning.wsdl) at /usr/share/perl5/SOAP/Lite.pm line 2687. at WSDL.xmlToObject</span><span style="font-size: 13px; "> </span></div><div><span style="font-size: 13px; "><br></span></div><div>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 :)</div><div><br></div><div>Thanks,</div><div>-- </div><div>Matt Van Veenendaal</div><div><br></div></div>
</div></div></span>
</blockquote>
<div>
<br>
</div>