<?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: Changing Partition Name of Line associated with Device in Management</title>
    <link>https://community.cisco.com/t5/management/changing-partition-name-of-line-associated-with-device/m-p/3468450#M861</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&amp;nbsp; I don't see any obvious problem.&amp;nbsp; I recommend doing this for debugging purposes.&amp;nbsp; Add this code (or something like it) before you execute the setRoutePartitionName, and you should see the XML it is about to send.&amp;nbsp; That might shed light on where things are going wrong. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Create a String writer object which will be &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //used to write jaxbElement XML to string&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StringWriter writer = new StringWriter();&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // create JAXBContext which will be used to update writer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; JAXBContext context = JAXBContext.newInstance(XFkType.class);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // marshall or convert jaxbElement containing student to xml format&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; context.createMarshaller().marshal(jaxbPartitionLine, writer);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //print XML string representation of object&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println( writer.toString() ); &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Aug 2015 19:46:14 GMT</pubDate>
    <dc:creator>npetrele</dc:creator>
    <dc:date>2015-08-31T19:46:14Z</dc:date>
    <item>
      <title>Changing Partition Name of Line associated with Device</title>
      <link>https://community.cisco.com/t5/management/changing-partition-name-of-line-associated-with-device/m-p/3468447#M858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are trying to change "Route Partition" name of a line associated with device using AXL API. Following is the code-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;XFkType xfkPartition = new XFkType();&lt;/P&gt;&lt;P&gt; xfkPartition.setValue("Parsec2");&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;JAXBElement&amp;lt;XFkType&amp;gt; jaxbPartitionLine = new JAXBElement&amp;lt;XFkType&amp;gt;(new QName("routePartitionName"), XFkType.class, xfkPartition);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;jaxbPartitionLine.setValue(xfkPartition);&lt;/P&gt;&lt;P&gt;objUpdateLineReq.setRoutePartitionName(jaxbPartitionLine);&lt;/P&gt;&lt;P&gt;StandardResponse objStandardResponse= objAXLPort.updateLine(objUpdateLineReq);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After execution of code, I don't see any change in partition name. Neither any error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please suggest what is the wrong in above line?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Umesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 10:15:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/changing-partition-name-of-line-associated-with-device/m-p/3468447#M858</guid>
      <dc:creator>upchaurasia</dc:creator>
      <dc:date>2015-08-31T10:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Partition Name of Line associated with Device</title>
      <link>https://community.cisco.com/t5/management/changing-partition-name-of-line-associated-with-device/m-p/3468448#M859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't see where you're specifying which line to update.&amp;nbsp; Did you specify the pattern somewhere?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 15:14:10 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/changing-partition-name-of-line-associated-with-device/m-p/3468448#M859</guid>
      <dc:creator>npetrele</dc:creator>
      <dc:date>2015-08-31T15:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Partition Name of Line associated with Device</title>
      <link>https://community.cisco.com/t5/management/changing-partition-name-of-line-associated-with-device/m-p/3468449#M860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, here is -&lt;/P&gt;&lt;P&gt;UpdateLineReq objUpdateLineReq=new UpdateLineReq();&lt;/P&gt;&lt;P&gt; objUpdateLineReq.setUuid(strDirnUUId);&lt;/P&gt;&lt;P&gt;objUpdateLineReq.setDescription(strDesc);&lt;/P&gt;&lt;P&gt;XFkType xfkPartition = new XFkType();&lt;/P&gt;&lt;P&gt; xfkPartition.setValue("Parsec2");&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;JAXBElement&amp;lt;XFkType&amp;gt; jaxbPartitionLine = new JAXBElement&amp;lt;XFkType&amp;gt;(new QName("routePartitionName"), XFkType.class, xfkPartition);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;jaxbPartitionLine.setValue(xfkPartition);&lt;/P&gt;&lt;P&gt;objUpdateLineReq.setRoutePartitionName(jaxbPartitionLine);&lt;/P&gt;&lt;P&gt;StandardResponse objStandardResponse= objAXLPort.updateLine(objUpdateLineReq);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Umesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 16:13:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/changing-partition-name-of-line-associated-with-device/m-p/3468449#M860</guid>
      <dc:creator>upchaurasia</dc:creator>
      <dc:date>2015-08-31T16:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Partition Name of Line associated with Device</title>
      <link>https://community.cisco.com/t5/management/changing-partition-name-of-line-associated-with-device/m-p/3468450#M861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&amp;nbsp; I don't see any obvious problem.&amp;nbsp; I recommend doing this for debugging purposes.&amp;nbsp; Add this code (or something like it) before you execute the setRoutePartitionName, and you should see the XML it is about to send.&amp;nbsp; That might shed light on where things are going wrong. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Create a String writer object which will be &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //used to write jaxbElement XML to string&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StringWriter writer = new StringWriter();&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // create JAXBContext which will be used to update writer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; JAXBContext context = JAXBContext.newInstance(XFkType.class);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // marshall or convert jaxbElement containing student to xml format&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; context.createMarshaller().marshal(jaxbPartitionLine, writer);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //print XML string representation of object&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println( writer.toString() ); &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 19:46:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/changing-partition-name-of-line-associated-with-device/m-p/3468450#M861</guid>
      <dc:creator>npetrele</dc:creator>
      <dc:date>2015-08-31T19:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Partition Name of Line associated with Device</title>
      <link>https://community.cisco.com/t5/management/changing-partition-name-of-line-associated-with-device/m-p/3468451#M862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Nicholas.&lt;/P&gt;&lt;P&gt;Here is the output -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&amp;gt;&amp;lt;routePartitionName&amp;gt;Parsec2&amp;lt;/routePartitionName&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think XML is correct but there is no effect in partition when executing updateLine -&lt;/P&gt;&lt;P&gt;StandardResponse objStandardResponse= objAXLPort.updateLine(objUpdateLineReq);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to change CSS of same line using updateLine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Umesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Sep 2015 08:54:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/changing-partition-name-of-line-associated-with-device/m-p/3468451#M862</guid>
      <dc:creator>upchaurasia</dc:creator>
      <dc:date>2015-09-07T08:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Partition Name of Line associated with Device</title>
      <link>https://community.cisco.com/t5/management/changing-partition-name-of-line-associated-with-device/m-p/3468452#M863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that looks correct.&amp;nbsp; Can you check the entire XML request?&amp;nbsp; You can do that a variety of ways, including added Java code, Fiddler or Wireshark, or use RTMT to monitor the AXL requests.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, try executing the same request with SoapUI.&amp;nbsp; If it works in SoapUI, then something is wrong with your code.&amp;nbsp; If it doesn't work in SoapUI, then something is wrong with the request or with AXL.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 14:23:04 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/changing-partition-name-of-line-associated-with-device/m-p/3468452#M863</guid>
      <dc:creator>npetrele</dc:creator>
      <dc:date>2015-09-08T14:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Partition Name of Line associated with Device</title>
      <link>https://community.cisco.com/t5/management/changing-partition-name-of-line-associated-with-device/m-p/3468453#M864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey, you need to set &lt;SPAN style="color: #000000; font-family: Arial; font-size: 13.3333px; font-weight: bold;"&gt;newRoutePartitionName &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Arial; font-size: 13.3333px;"&gt;to the new value&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2015 03:44:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/changing-partition-name-of-line-associated-with-device/m-p/3468453#M864</guid>
      <dc:creator>Sascha Monteiro</dc:creator>
      <dc:date>2015-09-18T03:44:47Z</dc:date>
    </item>
  </channel>
</rss>

