<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SelectCmDevice(ref stateInfo, CmSel) throws exception The underlying connection was closed: An unexpected error occurred on a receive. in Management</title>
    <link>https://community.cisco.com/t5/management/selectcmdevice-ref-stateinfo-cmsel-throws-exception-the/m-p/3518630#M1492</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using a tool like Fiddler to intercept the actual HTML request/response on the wire is also extremely helpful, as it will include the the HTTP headers (which are important.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Mar 2015 18:57:15 GMT</pubDate>
    <dc:creator>dstaudt</dc:creator>
    <dc:date>2015-03-10T18:57:15Z</dc:date>
    <item>
      <title>SelectCmDevice(ref stateInfo, CmSel) throws exception The underlying connection was closed: An unexpected error occurred on a receive.</title>
      <link>https://community.cisco.com/t5/management/selectcmdevice-ref-stateinfo-cmsel-throws-exception-the/m-p/3518626#M1488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using RisPort API for getting device IP Address using &lt;A href="https://CUCM_IP:8443/realtimeservice/services/RisPort"&gt;https://CUCM_IP:8443/realtimeservice/services/RisPort&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Here is our piece of code-&lt;/P&gt;&lt;P&gt;CmSel.MaxReturnedDevices = 100;&lt;BR /&gt;CmSel.Status = "Registered";&lt;BR /&gt;CmSel.Class = "Phone";&lt;BR /&gt;CmSel.Model = 255; //Any&lt;BR /&gt;CmSel.SelectBy = "Name";&lt;BR /&gt;CmSel.SelectItems = arrSelItem;&lt;BR /&gt;string stateInfo = null;&lt;BR /&gt;SelDResult = Ris.SelectCmDevice(ref stateInfo, CmSel);&lt;/P&gt;&lt;P&gt;Ris.SelectCmDevice(ref stateInfo, CmSel) throws exception "The underlying connection was closed: An unexpected error occurred on a receive.".&lt;/P&gt;&lt;P&gt;Our CUCM version is 9.1.2. we checked &lt;A href="https://CUCM_IP:8443/realtimeservice/services/RisPort"&gt;https://CUCM_IP:8443/realtimeservice/services/RisPort&lt;/A&gt; in browser and it's running fine, wsdl is also displayed.&lt;/P&gt;&lt;P&gt;Can you please tell us what could be the possible cause? Is there any specific parameter in CUCM which we need to check?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Umesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 13:17:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/selectcmdevice-ref-stateinfo-cmsel-throws-exception-the/m-p/3518626#M1488</guid>
      <dc:creator>upchaurasia</dc:creator>
      <dc:date>2015-03-10T13:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: SelectCmDevice(ref stateInfo, CmSel) throws exception The underlying connection was closed: An unexpected error occurred on a receive.</title>
      <link>https://community.cisco.com/t5/management/selectcmdevice-ref-stateinfo-cmsel-throws-exception-the/m-p/3518627#M1489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this Java?&amp;nbsp; I don't see what you created for arrSelItem.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 16:47:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/selectcmdevice-ref-stateinfo-cmsel-throws-exception-the/m-p/3518627#M1489</guid>
      <dc:creator>npetrele</dc:creator>
      <dc:date>2015-03-10T16:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: SelectCmDevice(ref stateInfo, CmSel) throws exception The underlying connection was closed: An unexpected error occurred on a receive.</title>
      <link>https://community.cisco.com/t5/management/selectcmdevice-ref-stateinfo-cmsel-throws-exception-the/m-p/3518628#M1490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, It's C#.&lt;/P&gt;&lt;P&gt;arrSelItem is array of device names for which we want to fetch info.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;arrSelItem = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; RealTimeService.&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: 10pt; font-family: Consolas;"&gt;SelectItem(200);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b91af; font-size: 10pt; font-family: Consolas;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b91af; font-size: 10pt; font-family: Consolas;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b91af; font-size: 10pt; font-family: Consolas;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b91af; font-size: 10pt; font-family: Consolas;"&gt;Umesh&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 17:22:07 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/selectcmdevice-ref-stateinfo-cmsel-throws-exception-the/m-p/3518628#M1490</guid>
      <dc:creator>upchaurasia</dc:creator>
      <dc:date>2015-03-10T17:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: SelectCmDevice(ref stateInfo, CmSel) throws exception The underlying connection was closed: An unexpected error occurred on a receive.</title>
      <link>https://community.cisco.com/t5/management/selectcmdevice-ref-stateinfo-cmsel-throws-exception-the/m-p/3518629#M1491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I'm not a C# guy, so I probably can't help you.&amp;nbsp; But if I had to guess, that (arrSelItem) is the problem.&amp;nbsp; In Java, there's a way to view what the XML is going to look like before you send it.&amp;nbsp; There's probably a way to do that in C#, and that's what I would recommend.&amp;nbsp; Previewing the XML will show you where things are going wrong. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also - you're selecting by Name, right?&amp;nbsp; Are you saying you're creating an array of 200 device names?&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 18:01:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/selectcmdevice-ref-stateinfo-cmsel-throws-exception-the/m-p/3518629#M1491</guid>
      <dc:creator>npetrele</dc:creator>
      <dc:date>2015-03-10T18:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: SelectCmDevice(ref stateInfo, CmSel) throws exception The underlying connection was closed: An unexpected error occurred on a receive.</title>
      <link>https://community.cisco.com/t5/management/selectcmdevice-ref-stateinfo-cmsel-throws-exception-the/m-p/3518630#M1492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using a tool like Fiddler to intercept the actual HTML request/response on the wire is also extremely helpful, as it will include the the HTTP headers (which are important.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 18:57:15 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/selectcmdevice-ref-stateinfo-cmsel-throws-exception-the/m-p/3518630#M1492</guid>
      <dc:creator>dstaudt</dc:creator>
      <dc:date>2015-03-10T18:57:15Z</dc:date>
    </item>
  </channel>
</rss>

