[Spce-user] help with XML-RPC an php
Alejandro Rodriguez
alejandro at beeztel.com
Thu Jun 7 16:52:15 EDT 2012
Perfect.
I will try.
Regards
El 07/06/2012 21:50, "Skyler" <skchopperguy at gmail.com> escribió:
> Hi,
>
> Don't forget to reply-all so everyone can help or know solutions ;)
>
> On Thu, Jun 7, 2012 at 1:22 PM, Alejandro Rodriguez <alejandro at beeztel.com
> > wrote:
>
>> Hi Skyler,
>>
>> With nusoap, all is correct and easy. (I don't think on use this instead
>> of php soap)
>>
>> I'm not sure if you can help me with a new question. Create the structure
>> for create_voip_account. I can't create the correct structure.
>> I receive this message "need a billing profile for the new account"
>>
>>
> I have this same trouble but not had time to further investigate. I
> suspect that the 'billing_profile' may require the ID number assigned in
> the database to be passed where if 'Default Billing Profile' has ID of '3'
> then pass the '3'.
>
> ...just guessing, maybe you can help to confirm this for everyone? :)
>
> Skyler
>
>
>> Thanks.
>>
>> $params = array(
>> 'authentication' => array('type' => 'admin', 'username' =>
>> 'username', 'password' => 'password'),
>> 'parameters' => array( 'data' => array (
>> 'billing_profile' => 'Default Billing Profile',
>> 'status' => 'active',
>> 'external_id' => '44444444',
>> 'subscribers' => array(
>> 'username' => '44444444',
>> 'domain' => '94.23.232.121',
>> 'password' => '2222222'
>> )
>> )
>> )
>> );
>>
>>
>>
>>
>> 2012/6/7 Alejandro Rodriguez <alejandro at beeztel.com>
>>
>>> Thanks a lot nusoap :)
>>> El 07/06/2012 19:45, "Skyler" <skchopperguy at gmail.com> escribió:
>>>
>>> Hi,
>>>>
>>>> See attached php/soap connection example. This is from a very helpful
>>>> person on the list some months ago. Maybe it will assist your problem ;)
>>>>
>>>> Skyler
>>>>
>>>> On Thu, Jun 7, 2012 at 6:47 AM, Alejandro Rodriguez <
>>>> alejandro at beeztel.com> wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I'm trying to use XML-RPC and SOAP with sipwise. But I cant connect
>>>>> with the server with XML-RPC and with SOAP versión everytime I get the
>>>>> message "SOAP-ERROR: Parsing Schema: unexpected in complexType"
>>>>>
>>>>> Please have you some example in php to usu XML-RPC or with SOAP.
>>>>>
>>>>>
>>>>> This is my php for load the wsdl in SOAP.
>>>>>
>>>>> try
>>>>> {
>>>>> $client = new SoapClient("https://ipserver:2443/SOAP/Provisioning.wsdl",array('login'
>>>>> => "login", 'password' => "password"));
>>>>>
>>>>> } catch ( SoapFault $fault ) {
>>>>> echo '<pre>';
>>>>> echo var_dump($fault) ;
>>>>> echo '</pre>';
>>>>> exit ;
>>>>> }
>>>>>
>>>>>
>>>>> Regards
>>>>> Alejandro
>>>>>
>>>>> _______________________________________________
>>>>> Spce-user mailing list
>>>>> Spce-user at lists.sipwise.com
>>>>> http://lists.sipwise.com/listinfo/spce-user
>>>>>
>>>>>
>>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20120607/c2b189a4/attachment-0001.html>
More information about the Spce-user
mailing list