[Spce-user] SOAP array problem

HFC-Network Kft - Szabó János szabojanos at hfcnetwork.hu
Tue Feb 12 03:36:55 EST 2013


Hi all!

I want to create a call forward set with a hunting group via SOAP using 
php with nuSOAP, but I always get this answer:
"*[faultcode] => soap:Client [faultstring] => Application failed during 
request deserialization: Unspecified namespace for type 
'unnamed_struct_use_soapval[1]' *"

Am I have to create a special declaration to use this function?

Here is the code, that I want to use:
/If I leave the last array declaration, I get the " *Not an ARRAY 
reference at /usr/share/perl5/Sipwise/Provisioning/Voip.pm line 2625.*" 
response./

/$response = $client->call(//
//            'create_subscriber_cf_destination_set', //
//            array(//
//                    'authentication' => array( //
//                            'username'     => 'admin',//
//                            'password'     => 'password',//
//                            'type'        => 'admin'//
//                    ),//
////
//                    'parameters' => array( //
//                            'username'     => '0009821',//
//                            'domain'    => 'voip.localdomain.com',//
//                            'data' => array(//
//                                'name'        => 'test',//
//                                 'destinations' => array( array(//
//                                                'priority' => 1,//
//                                                'destination' => 
'sip:3690900900 at voip.localdomain.com'//
//                                            )//
//                                            )//
////
////
////
////
//                            )//
//                    )//
//            ), '/SOAP/Provisioning', '', false, true//
//);/

The usernames and passwords are changed, because the anonymity.

Thanks,
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20130212/1fe8e280/attachment.html>


More information about the Spce-user mailing list