[Spce-user] SOAP roblem

Christian Veigl cveigl at sipwise.com
Fri May 25 05:38:07 EDT 2012


Hi,

everything inside <parameters> and </parameters> needs to be (in addition)
encapsulated like so:

<parameters>
<data>
<!-- stuff -->
</data>
</parameters>

See also Provisioning.wsdl for more gory details.

hth,
c.

On 05/24/2012 04:03 PM, Juan José Ivars wrote:
> Hello, i continue with my SOAP experiments, but i have problems 
> creating a VoIP account, my xml is:
> <?xml version="1.0" encoding="UTF-8"?>
> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>                xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
>                xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>                
> soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
>                xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> <soap:Body>
> <create_voip_account xmlns="/SOAP/Provisioning">
> <authentication>
> <type xsi:type="xsd:string">admin</type>
> <username xsi:type="xsd:string">administrator</username>
> <password xsi:type="xsd:string">XXXXXXXXXXX</password>
> </authentication>
> <parameters>
> <billing_profile xsi:type="xsd:string">default</billing_profile>
> <status xsi:type="xsd:string">active</status>
> <external_id xsi:type="xsd:string">666666666</external_id>
> <username xsi:type="xsd:string">666666666</username>
> <domain xsi:type="xsd:string">XXXXXXXXXXX</domain>
> <password xsi:type="xsd:string">666666666</password>
> <cc xsi:type="xsd:string">true</cc>
> <ac xsi:type="xsd:string">true</ac>
> <sn xsi:type="xsd:string">true</sn>
> <admin xsi:type="xsd:boolean">false</admin>
> <webusername xsi:type="xsd:string">666666666</webusername>
> <webpassword xsi:type="xsd:string">666666666</webpassword>
> <external_id xsi:type="xsd:string">666666666</external_id>
> </parameters>
> </create_voip_account>
> </soap:Body>
> </soap:Envelope>
>

[...]




More information about the Spce-user mailing list