How to get multiple phones in a request with SelectCmDevices

Hi all:
I had met this problem, i can get only one phone with this request:
"<soapenv:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" " +
"xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:soap=\"http://schemas.cisco.com/ast/soap/\" xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"> " +
"<soapenv:Header>" +
"<AstHeader xsi:type=\"soap:AstHeader\">" +
"<SessionId xsi:type=\"xsd:string\">1234567</SessionId>" +
"</AstHeader>" + "</soapenv:Header>" + "<soapenv:Body>" +
"<soap:SelectCmDevice soapenv:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">" +
"<CmSelectionCriteria xsi:type=\"soap:CmSelectionCriteria\">" +
"<SelectBy xsi:type=\"xsd:string\">Name</SelectBy>" +
"<Status xsi:type=\"xsd:string\">Registered</Status>" +
"<Class xsi:type=\"ns1:DeviceClass\">Phone</Class>" +
"<Model xsi:type=\"xsd:unsignedInt\">255</Model>" +
"<SelectItems>" + "<Item>" + macadd +
"</Item>" + "</SelectItems>" + "</CmSelectionCriteria>" +
"</soap:SelectCmDevice>" + "</soapenv:Body>" +
"</soapenv:Envelope>";
But how can i to get multiple phones in a request? i had tried many methods, but all of them are not work. Thanks for any helps!

Hi msabir:
Thanks for your help. Yea,i don't want to get the first 200 phones, i just want to get the phones which are listed in the items.For example:
"SEP0013192F15DU"+
"SEP000E839C1479"+
"SEP00131A4D3B34"+
"SEP001D450BF4CF"
,then i just want to get the four phones, but when i do like this,i always just got one phone,why is that? Then i changed to use Array like this:
"http://schemas.xmlsoap.org/soap/encoding/\">" +
"" +
"" +
""+
""+
"10"+
"Phone" +
"255" +
"Any" +
"Name" +
"" +
""+
""+
""+
""+
""+
"SEP001D450BF4CE"+
""+
""+
"SEP00131A4D3B34"+
""+
But it alway throws this error:
soapenv:Server.generalExceptionERROR: SelectBy is null
why? Thank you very much!

Similar Messages

  • How to get multiple value on html chart with apex

    Hi All,
    I'm looking for a way to compare 2 value on a html chart with apex (ex. Budget with expense).
    Some one know how I could make a chart with 2 value ( a kind of histogram with the bar Budget and expenses side to side with only one title)
    Thanks all !
    Edited by: 844999 on 2011-04-05 07:59

    sims wrote:
    Hi Anil,
    Its a standard page & i want it on click of apply button but my question is when i click apply button it navigates to other page..is it possible in such scenario to extend the controller.
    Thnx for ur suggestion
    SimsThat is not an issue, you can extend the controller of that page and get the value of sequence and set it to the VO attribute.
    Thanks
    --Anil
    http://oracleanil.blogspot.com

  • How to get an answer for Support Request Number 12...

    How to get an answer for Support Request Number 1277702580 ?

    Has your speed problem been resolved, or do you need assistance?
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • How to get multiple selected fields in list

    Hello all,
    I am trying to get multiple selected value from a list but i dont know how to get multiple selected fields from a list though AS3.
    Actually i want to pass the selected fields to php, so for that i need to get the selections and send to php.
    Thankx..

    i want to put the selected fields of list in an array through AS3....
    actually......i figured it out how to do that...........
    Its simple......use
    list.selectedItems[index]
    and to get the number of items selected......
    list.selectedItems.length
    simple.....

  • How to get multiple records using fn-bea:execute-sql()

    Hi,
    I created Proxy service(ALSB3.0) to get records from DB table. I have used Xquery function(fn-bea:execute-sql()). Using simple SQL query I got single record, but my table having multiple records. Please suggest how to get multiple records using fn-bea:execute-sql() and how to assign them in ALSB variable.
    Regards,
    Nagaraju
    Edited by: user10373980 on Sep 29, 2008 6:11 AM

    Hi,
    Am facing the same issue stated above that I couldnt get all the records in the table that am querying in the Proxyservice.
    For example:
    fn-bea:execute-sql('EsbDataSource', 'student', 'select Name from StudentList' ) is the query that am using to fetch the records from the table called StudentList which contains more than one records like
    Id Name
    01 XXX
    02 YYY
    03 ZZZ
    I tried to assign the result of the above query in a variable and while trying to log the variable, I can see the below
    <student>
    <Name>XXX</Name>
    </student>
    I want to have all the records from my table in xml format but it's not coming up. I get the value only from the first row of my table.
    Please suggest.
    regards,
    Venkat

  • How do you get multiple screens on the iPad with iOS 5.1.1?

    How do you get multiple screens on the iPad with iOS 5.1.1? We just upgraded to iOS 5.1.1, and we see no way to be able to open multiple screens at once. Before, there was a small button in the upper portion of any window. That button would take you from a particular window to the place where multiple windows are open at once. Does it do it differently? Is there a special setting button that we have missed? Thanks!
    One more thing: We are only talking about Safari.

    Guitaristica-
    I don't think I've seen a way to have separate Safari screens visible at the same time.  The small thumbnails were deleted in one of the iOS updates, and replaced with a multiple "Tab" system.
    You can open an additional screen in a new "tab" by pressing and holding on a link until a new menu comes up.
    Fred

  • Can you get multiple phone socket working with BT ...

    Hi,
    So I recently had a BT engineer visit, he connected the phone line on the main socket then left. A week later they turned my BT infinity on.
    It works great but the main socket is in a different room to my office. I have a phone socket in my office right next ot my pc. But when i plug my router into this socket it fails to produce an internet connection. 
    Is there a way to get multiple phone sockets working? I would like to move my hub so it is in my office but the socket isnt giving off internet.
    Any help is much appreciated.
    Thanks.

    You need to identify the cables connected to the removable faceplate beside the red arrow - these are the extension cables to other sockets in the house. 
    Connected from here you will get voice only - not data. 
    If there is more than 1 cable you need to identify the one to your office, remove it and fit the cables to the yellow arrow connections. 
    You only need to connect the cables connected to 2 & 5 (there may be more connected to the faceplate)
    guide on this link  although it does not tell you the 2/5 connection order - I don't think polarity matters - but someone with more knowledge can advise. 
    A potential problem you may have is if there are other extension sockets connected to your office socket you use (and not the faceplate) as these then are not suitable  for phone - only data. 
    With DECT phones and the need for just one basestaion not really a probem nowadays but you need to know where each socket in your house is connected from, and what you want to use it for. 
    If you have any BB problems, BT will also insits you plug the router/modem back into the master socket for all testing. 
    EDited to add - a krone insertion tool is best for inserting the cables to the socket and has a nice pick to disconnect also. They are easy to use - search you tube for a video. 

  • I am trying to update my iphone 3GS software but itunes just says that this is the current version of itunes, it does not see the phone update - anyone know how to get the phone updated?

    I am trying to update my iphone 3GS software but itunes just says that this is the current version of itunes, it does not see the phone update - anyone know how to get the phone updated?

    Mike
    I have done that and it is through pressing that update, which tells me that there is anew version of iphone software, that the prompt comes telling me that this is the current itunes?

  • Im trying to make a poster size collage of pictures and also want to put a story in the middle of the poster. I just can't understand how to get multiple pictures and how to arrange them around the poster?

    Im trying to make a postersize picture collage and I don't know how to get multiple pictues arranged. Someone said I can use the layer option. But Im just not getting it. Please help!

    Click File >> Open and select all of your photos
    That will add them to the project bin
    Then select File >> New >> Blank File
    Select background color White (or whatever you prefer) and add your width and height for your final image (set resolution 72 for web usage or 240 to 300 for printing) then click OK
    In the project bin click your first photo and drag it up into the main window on top of your new background.
    Click on the move tool and click in the center of the photo and drag to arrange it where you want on the background - you can hold down the shift key to maintain original proportions whilst dragging the corner handles of the bounding box to get the size you want.
    Do the same with the next photo (drag it up into the main window) and use the move tool to position it. Then continue with each image.
    Finally Click Layer >>Flatten image and save as jpeg. (Save as PSD if you want to preserve the layers for editing again)
    N.B. as you add images they get dropped in the center. So you need to use the move tool to drag them apart. Click in the middle of one and move it around, and then the others until you get them positioned as you want.
    When you click again with the move tool a bounding box appears around the image and you can drag out the corner handles to re-size your photos. Hold down the shift key when dragging the corner handle and that will maintain the proportions of the original.
    Finally click Layer >>Flatten Image and save your collage - you may then want to use the crop tool to cut away any surplus white canvas, and then re-save. Click the T tool to add text.

  • How to get multiple beep sound?

    Hi
    I want to get multiple beep sounds as output if a comparison condition gives output as true.
    Can anyone tell me how to get multiple beep sound?
    Solved!
    Go to Solution.

    You could make it more pleasant if you would play a different sound file based on the comparison. (look in the windows\media folder for the sounds used by the OS. Try e.g. c:\windows\media\tada.wav)
    Very few people still communicate in morse code.
    LabVIEW Champion . Do more with less code and in less time .

  • How to get Multiple FLV duration?

    How to get Multiple FLV duration in single shot?.  Am using Netstream concept.

    I have more flv files and taking it via XML. I want to play the multiple flv video in single timeline. For that i need duration of multiple flv in for loop. Is it possible to take without metadata?

  • My boss is on Entourage/MAC 2003 and I am on Windows 2007, I cannot seem to work out how to get copies of his meeting requests. The manual says tick 'send copies to delegate' but there is no box in that version to tick. Anyone?

    My boss is on Entourage/MAC 2003 and I am on Windows 2007, I cannot seem to work out how to get copies of his meeting requests as his only delegate.
    The manual says tick 'send copies to delegate' but there is no box in that version to tick. Anyone?
    Thanks!
    Beth

    My boss is on Entourage/MAC 2003 and I am on Windows 2007, I cannot seem to work out how to get copies of his meeting requests as his only delegate.
    The manual says tick 'send copies to delegate' but there is no box in that version to tick. Anyone?
    Thanks!
    Beth

  • How to get rid of the blue underline with green arrows on words and then a pop-up ad appears.

    How to get rid of the blue underline with green arrows on words and then a pop-up ad appears.

    Click here and follow the instructions, or if they don't cover the type of adware on the computer, these ones. If you're willing to use a tool to remove it(you don't need to, but may find it easier), you can instead run Adware Medic; this link is a direct download.
    (119795)

  • How to get all images in indesign CS5 with javascript?

    Hi,everybody,
    How to get all images in indesign CS5 with javascript?I want to delete them.
    Anyone can give me some example codes?
    Thanks,
    Bridge

    Hey!
    This will remove all images from your InDesign document:
    var myLinks = app.activeDocument.links.everyItem().parent;
    for(var i = 0; i < myLinks.length; i++)
        myLinks[i].remove();
    Hope that helps.
    tomaxxi
    http://indisnip.wordpress.com/
    http://inditip.wordpress.com/

  • How to get the stock of STO Report with suppling Plant/receiving Plant/open

    How to get the stock of STO Report with suppling Plant/receiving Plant/open/close qty.

    MB5T gives you Details of STO which have stok in transit.
    ME2W gives you supplying plant wise STO details.  Also in ME2W , in the ALV report output, if you select  the "delivery Schedule line" icon , you will get details such as , STO qty, Issued qty , undelivered qty etc.

Maybe you are looking for

  • Windows vista not supported

    is windows vista no longer supported? when  i try download the trial it says my system is no longer supported its a vista 32 bit. does this mean i would have to get a new computer or upgrade my system in oreder to use photoshop ? im confused, also i

  • Intalling BO front end tools on top of SAP BW (trial version).

    Hi All, I currently work on SAP BI and SAP Enterprise Portal projects.  I am looking at installing BO Front end tools on top of SAP BW (just a trial version though).   Does anybody have the links where I can download this software?  Also I have playe

  • Automatic Payment Program(FBZP)

    Hi All We are facing a situation where we need to make payment to a vendor through Automatic Payment Program (FBZP) in a currency that is different from the Invoice currency.  For example the Company Code currency is SEK and the invoice created is al

  • Information on Business Process Monitoring

    Hello experts, I want to know if there is a way to monitor spool jobs in business process monitoring or other tool? I assume that I can monitor background jobs with BPMon but I don't find where I can monitor the content of the spool generated by the

  • Unable to find PO Cloud 90 trial registration link

    Dear All, I need to register with "SAP Process Orchestration Trial in Public Cloud" as per the guidance mentioned in the document SAP Process Orchestration Trial in Public Cloud - Getting Started But I am not able to see the link for Registration in