<?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: updateUser - works even if I'm associating devices that do not exist in Management</title>
    <link>https://community.cisco.com/t5/management/updateuser-works-even-if-i-m-associating-devices-that-do-not/m-p/3595151#M2593</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why report an error?&amp;nbsp; AXL is so intelligent, it knows the future, and can see that you're going to create the device. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just kidding.&amp;nbsp; This seems to be a 9.1 issue, which I was able to reproduce on our 9.1.2 lab server.&amp;nbsp; 10.5 correctly reports an error that the device does not exist. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll report the bug.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Mar 2015 17:19:55 GMT</pubDate>
    <dc:creator>npetrele</dc:creator>
    <dc:date>2015-03-20T17:19:55Z</dc:date>
    <item>
      <title>updateUser - works even if I'm associating devices that do not exist</title>
      <link>https://community.cisco.com/t5/management/updateuser-works-even-if-i-m-associating-devices-that-do-not/m-p/3595150#M2592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been working on a issue where my rollback didn't work properly. The code tried to roll back the deletion of a device, but it failed.&lt;/P&gt;&lt;P&gt;Following up the addPhone command is an updateUser command that associates the recreated phone back to the user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I'm sending&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;soapenv:Envelope xmlns:soapenv="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.xmlsoap.org/soap/envelope/" rel="nofollow" target="_blank"&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/A&gt;&lt;SPAN&gt;" xmlns:ns="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.cisco.com/AXL/API/9.1" rel="nofollow" target="_blank"&gt;http://www.cisco.com/AXL/API/9.1&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;soapenv:Header/&amp;gt;&amp;lt;soapenv:Body&amp;gt;&amp;lt;ns:updateUser sequence="0"&amp;gt; &amp;lt;uuid&amp;gt;{EF09521F-138E-9CF2-0F76-348A4B31E4B2}&amp;lt;/uuid&amp;gt;&amp;lt;associatedDevices&amp;gt;&amp;lt;device&amp;gt;TCTTEST10&amp;lt;/device&amp;gt;&amp;lt;/associatedDevices&amp;gt;&amp;lt;/ns:updateUser&amp;gt;&amp;lt;/soapenv:Body&amp;gt;&amp;lt;/soapenv:Envelope&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And get back this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;?xml version='1.0' encoding='UTF-8'?&amp;gt;&amp;lt;soapenv:Envelope xmlns:soapenv="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.xmlsoap.org/soap/envelope/" rel="nofollow" target="_blank"&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;soapenv:Body&amp;gt;&amp;lt;ns:updateUserResponse sequence="0" xmlns:ns="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.cisco.com/AXL/API/9.1" rel="nofollow" target="_blank"&gt;http://www.cisco.com/AXL/API/9.1&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;return&amp;gt;{EF09521F-138E-9CF2-0F76-348A4B31E4B2}&amp;lt;/return&amp;gt;&amp;lt;/ns:updateUserResponse&amp;gt;&amp;lt;/soapenv:Body&amp;gt;&amp;lt;/soapenv:Envelope&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the device &lt;SPAN style="font-size: 13.3333330154419px;"&gt;TCTTEST10 does not exist at this point. I think the proper behavior would be to throw an error telling me I'm specifying a device that does not exist (and not some kind of reference error as you so often get.. been fighting with such errors that only make marginal sense as they don't reference what's really going wrong all morning).&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 14:55:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/updateuser-works-even-if-i-m-associating-devices-that-do-not/m-p/3595150#M2592</guid>
      <dc:creator>stephan.steiner</dc:creator>
      <dc:date>2015-03-20T14:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: updateUser - works even if I'm associating devices that do not exist</title>
      <link>https://community.cisco.com/t5/management/updateuser-works-even-if-i-m-associating-devices-that-do-not/m-p/3595151#M2593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why report an error?&amp;nbsp; AXL is so intelligent, it knows the future, and can see that you're going to create the device. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just kidding.&amp;nbsp; This seems to be a 9.1 issue, which I was able to reproduce on our 9.1.2 lab server.&amp;nbsp; 10.5 correctly reports an error that the device does not exist. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll report the bug.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 17:19:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/updateuser-works-even-if-i-m-associating-devices-that-do-not/m-p/3595151#M2593</guid>
      <dc:creator>npetrele</dc:creator>
      <dc:date>2015-03-20T17:19:55Z</dc:date>
    </item>
  </channel>
</rss>

