[Spce-user] About NGCP Web Service

Sébastien Cramatte scramatte at gmail.com
Wed Jun 15 11:51:42 EDT 2011


Hello,

We are trying to use NGCP Web Service with PHP Zend Framework

Zend Framework Include an XMLRPC client
http://framework.zend.com/manual/en/zend.xmlrpc.client.html



When I try to make a call to API, I've got an "Authorization Required"
Error.
I've followed manual instructions but still doesn't works. I've missed
something but I don't see what !


---- My Example ---

$client = new Zend_XmlRpc_Client('https://mywebserver:2443/XMLRPC');

                print_r($client->call('XMLRPC.Provisioning.get_subscriber',
array('authentication' => array(

'type'=>'admin',

'username' => 'test',

'password'  => '123456'

),

'parameters' => array(

'username' => 'user1',

'domain' => 'sip.mycompany.com'

)
                                                                        )));

----

May somebody can give me an hand

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


More information about the Spce-user mailing list