PHP and ADDLINE using AXLAPI.wsdl

Version 1
    This document was generated from CDN thread

    Created by: GEERT DEWINTER on 17-02-2011 10:26:25 AM
    Hello,
    I want to add a line using the following :
    ------
        $dirn =  array( "pattern" => $tel,
                "routePartitionName" => $routepartition,
                "usage" => "Device",
                "description" => $description,
                "alertingName" => $description,
                "asciiAlertingName" => $description,
                "networkHoldMOHAudioSourceId" => 1,
                "userHoldMOHAudioSourceId" => 1,
                "shareLineAppearanceCSSName" => $css,
                "callForwardAll" => array(
                    "forwardToVoiceMail" => $fwAvm,
                    "callingSearchSpaceName" => $css,
                    "destination" => $fwAnr,
                ),
        );
    #
        $response = $client->addLine( array("newLine" => $dirn ));
    ------
     
    Everything is created ok only the calling search space is not set. The calkinSearchSpace on the forward however is set fine.
    I must be missing something but I do not see it.
    Any help is welcome.
    Thanks,
    Geert

    Subject: RE: PHP and ADDLINE using AXLAPI.wsdl
    Replied by: GEERT DEWINTER on 17-02-2011 12:12:47 PM
    I did find out that the shareLineAppearanceCSSName is not included in the SOAP-envelope:
     
    Request: addLine :
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:ns1="http://www.cisco.com/AXL/API/7.1"><SOAP-ENV:Body><ns1:addLine>
    <newLine>
    <pattern>449339</pattern>
    <description>TEST

    UDP</description>
    <usage>Device</usage>
    <routePartitionName>uk_phones</routePartitionName>
    <callForwardAll><callingSearchSpaceName>DOMM_Unlimited</callingSearchSpaceName></callForwardAll>
    <networkHoldMOHAudioSourceId>1</networkHoldMOHAudioSourceId>
    <userHoldMOHAudioSourceId>1</userHoldMOHAudioSourceId>
    <alertingName>TEST
    UDP</alertingName>
    <asciiAlertingName>TEST
    UDP</asciiAlertingName>
    </newLine>
    </ns1:addLine></SOAP-ENV:Body></SOAP-ENV:Envelope>

    Subject: RE: PHP and ADDLINE using AXLAPI.wsdl
    Replied by: GEERT DEWINTER on 22-02-2011 04:28:04 AM
    Found the solution.

    Subject: RE: PHP and ADDLINE using AXLAPI.wsdl
    Replied by: Simon Rood on 22-02-2011 04:51:42 AM
    What have you done?

    Subject: RE: PHP and ADDLINE using AXLAPI.wsdl
    Replied by: GEERT DEWINTER on 22-02-2011 04:56:37 AM
    Checked the manual once again and found out that I needed to add :  "presenceGroupName" =>