<?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 PA 3020 issue with XML API in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/pa-3020-issue-with-xml-api/m-p/48977#M1100</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are having an issue with our PA-3020 and doing a partial&lt;BR /&gt;commit via the XML API. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to do a partial commit of only the Policies and&lt;BR /&gt;Objects. When I initiate the commit from the XML API it appears to queue up&lt;BR /&gt;successfully, and according to the web interface of the 3020, it&lt;BR /&gt;successfully&amp;nbsp; commits. However the changes that were pending did not&lt;BR /&gt;actually commit – they are still pending. If I do a partial commit from the web&lt;BR /&gt;interface, the pending changes do indeed commit and everything works as&lt;BR /&gt;expected. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been using the XML API pdf from the site – but there&lt;BR /&gt;is not any specific info about this particular issue in there that I’ve found. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The command I’m sending: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://ip.address.of.3020/api/?type=commit&amp;amp;cmd=%3Ccommit%3E%3Cpartial%3E%3Cpolicy-and-objects%3E%3C%2Fpolicy-and-objects%3E%3C%2Fpartial%3E%3C%2Fcommit%3E"&gt;https://ip.address.of.3020/api/?type=commit&amp;amp;cmd=%3Ccommit%3E%3Cpartial%3E%3Cpolicy-and-objects%3E%3C%2Fpolicy-and-objects%3E%3C%2Fpartial%3E%3C%2Fcommit%3E&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I need to include a specific object or can I just send&lt;BR /&gt;this command to commit all the objects and policies?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The XML API responds that the job is queued up, and the 3020&lt;BR /&gt;reports that the job completes successfully but the changes are not applied. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Apr 2014 21:51:06 GMT</pubDate>
    <dc:creator>mstephen</dc:creator>
    <dc:date>2014-04-08T21:51:06Z</dc:date>
    <item>
      <title>PA 3020 issue with XML API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/pa-3020-issue-with-xml-api/m-p/48977#M1100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are having an issue with our PA-3020 and doing a partial&lt;BR /&gt;commit via the XML API. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to do a partial commit of only the Policies and&lt;BR /&gt;Objects. When I initiate the commit from the XML API it appears to queue up&lt;BR /&gt;successfully, and according to the web interface of the 3020, it&lt;BR /&gt;successfully&amp;nbsp; commits. However the changes that were pending did not&lt;BR /&gt;actually commit – they are still pending. If I do a partial commit from the web&lt;BR /&gt;interface, the pending changes do indeed commit and everything works as&lt;BR /&gt;expected. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been using the XML API pdf from the site – but there&lt;BR /&gt;is not any specific info about this particular issue in there that I’ve found. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The command I’m sending: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://ip.address.of.3020/api/?type=commit&amp;amp;cmd=%3Ccommit%3E%3Cpartial%3E%3Cpolicy-and-objects%3E%3C%2Fpolicy-and-objects%3E%3C%2Fpartial%3E%3C%2Fcommit%3E"&gt;https://ip.address.of.3020/api/?type=commit&amp;amp;cmd=%3Ccommit%3E%3Cpartial%3E%3Cpolicy-and-objects%3E%3C%2Fpolicy-and-objects%3E%3C%2Fpartial%3E%3C%2Fcommit%3E&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I need to include a specific object or can I just send&lt;BR /&gt;this command to commit all the objects and policies?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The XML API responds that the job is queued up, and the 3020&lt;BR /&gt;reports that the job completes successfully but the changes are not applied. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 21:51:06 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/pa-3020-issue-with-xml-api/m-p/48977#M1100</guid>
      <dc:creator>mstephen</dc:creator>
      <dc:date>2014-04-08T21:51:06Z</dc:date>
    </item>
  </channel>
</rss>

