[Spce-user] Create account SOAP

Daniel Tiefnig dtiefnig at sipwise.com
Fri Jun 15 06:14:33 EDT 2012


On 06/11/2012 01:19 PM, Juan José Ivars wrote:
> Hello

Hej.

> I am trying to create a voip account through the SOAP interface
> sending the following XML code:

[...]
> <subscribers SOAP-ENC:arrayType="xsd:SubscriberWriteArray[]">
>     <username xsi:type="xsd:string">666666666</username>
>     <domain xsi:type="xsd:string">XX.XX.XX.XX</domain>
>     <password xsi:type="xsd:string">2222222</password>
> </subscribers>

Here's a small error in the XML. The username/domain/password elements
should together be wrapped into a "<item>" element. So for two
subscribers it's like:

<subscribers>
  <item>
    <username/>
    <domain/>
    <password/>
  </item>
  <item>
    <username/>
    <domain/>
    <password/>
  </item>
</subscribers>

br,
daniel




More information about the Spce-user mailing list