Only one line being posted to the phone, despite two in the request.

Version 1
    This document was generated from CDN thread

    Created by: Alex Arwine on 24-10-2008 11:06:45 PM
    I'm running a request with two lines, and only one line is being put on the phone.

    Response:

    -----
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <SOAP-ENV:Header/><SOAP-ENV:Body>
    <axl:updatePhoneResponse xmlns:axl="http://www.cisco.com/AXL/API/1.0" xmlns:xsi="http://www.cisco.com/AXL/API/1.0">
    <return>
    {7FB555F7-5ADD-408F-8F38-C997937938D5}
    </return>
    </axl:updatePhoneResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

    -----
    Request:
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">


    <soap:Body>
    <updatePhone xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.cisco.com/AXL/API/1.0">
    <name xmlns="">
    SEP00120101024A
    </name>
    <description xmlns="">
    Alex Arwine
    </description>
    <callingSearchSpaceName xmlns="">
    LosAngeles-USA
    </callingSearchSpaceName>
    <devicePoolName xmlns="">
    SP_DP
    </devicePoolName>

    <lines>
    <line index="1">
    <display>
    Alex Arwine
    </display>
    <dirn>
    <pattern>
    5150
    </pattern>
    <routePartitionName>
    LosAngelesDID
    </routePartitionName>
    <alertingName>
    Alex Arwine
    </alertingName>
    </dirn>
    <e164Mask>
    3603305XXX
    </e164Mask>
    <maxNumCalls>
    2
    </maxNumCalls>
    <callInfoDisplay>
    <callerName>
    Alex Arwine
    </callerName>
    <callerNumber>
    3603305XXX
    </callerNumber
    </callInfoDisplay>
    </line>
    <line index="2">
    <label>
    rawr
    </label>
    <display>
    Alex Arwine
    </display>
    <dirn>
    <pattern>
    5150
    </pattern>
    <routePartitionName>
    LosAngelesVirtual
    </routePartitionName>
    <alertingName>
    Alex Arwine
    </alertingName>
    </dirn>
    <e164Mask>
    3603305XXX
    </e164Mask>

    <maxNumCalls>
    2
    </maxNumCalls>
    <callInfoDisplay>
    <callerName>
    Alex Arwine
    </callerName>
    <callerNumber>
    3603305XXX
    </callerNumber
    </callInfoDisplay>
    </line>
    </lines>
    <mediaResourceListName xsi:type="xsd:string">
    Los Angeles Office
    </mediaResourceListName>
    <phoneTemplateId xsi:type="xsd:string">
    {5D19AD33-5212-464E-8EAE-9FDBC07032BB}
    </phoneTemplateId>
    <userLocale xsi:type="xsd:string">
    English, United States
    </userLocale>
    <networkLocale xsi:type="xsd:string">
    United States
    </networkLocale>
    <softkeyTemplateName xsi:type="xsd:string">
    Standard user
    </softkeyTemplateName>
    </updatePhone>
    </soap:Body>
    </soap:Envelope>

    -----

    Subject: Re: Only one line being posted to the phone, despite two in the request.
    Replied by: David Staudt on 25-10-2008 05:22:02 PM
    If your pasted XML request is accurate, both instances of the </callerNumber> closing tag are missing the trailing angle bracket...

    Subject: Re: Only one line being posted to the phone, despite two in the request.
    Replied by: Alex Arwine on 27-10-2008 10:44:30 PM
    ugh, It's so embarrassing to have that be such a simple solution.

    Thanks!
    -Alex