<?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 REST XML API- USING ORACLE and Panaorama , Dynamic address object updation failure on Palo-Alto Devices in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/rest-xml-api-using-oracle-and-panaorama-dynamic-address-object/m-p/4421#M3277</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: left;"&gt;The Oracle server is making REST-XML API request from a SQL PROCEDURE using the UTL_HTTP package to Panorama server for the below&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;OL style="text-align: left;"&gt;&lt;LI&gt;key generation for panorama&amp;nbsp;&amp;nbsp; [ Successful ]&lt;/LI&gt;&lt;LI&gt;Dynamic object creation on panorama&amp;nbsp;&amp;nbsp; [ Successful ]&lt;/LI&gt;&lt;LI&gt;FW rule creation on panorama&amp;nbsp;&amp;nbsp; [ Successful ]&lt;/LI&gt;&lt;LI&gt;commit ALL panorama&amp;nbsp;&amp;nbsp;&amp;nbsp; [ Successful ]&lt;/LI&gt;&lt;LI&gt;commit on device group using panorama&amp;nbsp; [ Successful ]&lt;/LI&gt;&lt;LI&gt;update [register/unregistered] dynamic address objects using panorama&amp;nbsp;&amp;nbsp; [&lt;STRONG&gt; Failure : 502 Bad Gateway (&amp;nbsp; UTL_HTTP package error)&lt;/STRONG&gt; ]&lt;/LI&gt;&lt;/OL&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;As a single point of management panorama is used.&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;The last one ( 6th ) request is failing as panorama is used as a proxy to update the dynamic address object on device. The same request is getting successful when run through the Browser.&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN&gt;Sample XML API Request is : &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://pan-aus-e001.corp.wayport.net/api/?type=user-id&amp;amp;action=set&amp;amp;vsys=vsys1&amp;amp;cmd="&gt;https://&amp;lt;panorama_host_name&amp;gt;/api/?type=user-id&amp;amp;action=set&amp;amp;vsys=vsys1&amp;amp;cmd=&lt;/A&gt;&lt;SPAN&gt;&amp;lt;uid-message&amp;gt;&amp;lt;version&amp;gt;1.1&amp;lt;/version&amp;gt;&amp;lt;type&amp;gt;update&amp;lt;/type&amp;gt;&amp;lt;payload&amp;gt;&amp;lt;register&amp;gt;&amp;lt;entry identifier="dy1" ip="1.1.1.5"&amp;gt;&amp;lt;/entry&amp;gt;&amp;lt;/register&amp;gt;&amp;lt;/payload&amp;gt;&amp;lt;/uid-message&amp;gt;&amp;amp;key=&amp;lt;key_value&amp;gt;&amp;amp;target=&amp;lt;device-id&amp;gt;'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;When debugged on the device using below commands -&lt;/P&gt;&lt;P style="text-align: left;"&gt;debug user-id on debug&lt;/P&gt;&lt;P style="text-align: left;"&gt;debug user-id set userid all&lt;/P&gt;&lt;P style="text-align: left;"&gt;tail follow yes mp-log useridd.log&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;I am able to see request coming on the device when run through the BROWSER. but NOT when run through the Oracle server procedure.&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Below different command from the oracle procedure to ensure that request is getting reached from panorama to device-&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;A href="https://pan-aus-e001.corp.wayport.net/api/?type=op&amp;amp;cmd=%3Cshow%3E%3Csystem%3E%3Cinfo%3E%3C/info%3E%3C/system%3E%3C/show%3E&amp;amp;key=LUFRPT1mTS9OdzE3SDREVXBBRzYzamtoTHNZSk5BUDQ9MmUyaUlERWwvUlI1UFRWNHJrZkxnUT09&amp;amp;target=001801003740" title="https://pan-aus-e001.corp.wayport.net/api/?type=op&amp;amp;cmd=&amp;lt;show&amp;gt;&amp;lt;system&amp;gt;&amp;lt;info&amp;gt;&amp;lt;/info&amp;gt;&amp;lt;/system&amp;gt;&amp;lt;/show&amp;gt;&amp;amp;key=LUFRPT1mTS9OdzE3SDREVXBBRzYzamtoTHNZSk5BUDQ9MmUyaUlERWwvUlI1UFRWNHJrZkxnUT09&amp;amp;target=001801003740"&gt;https://&amp;lt;panorama_host_name&amp;gt;/api/?type=op&amp;amp;cmd=&amp;lt;show&amp;gt;&amp;lt;system&amp;gt;&amp;lt;info&amp;gt;&amp;lt;/info&amp;gt;&amp;lt;/system&amp;gt;&amp;lt;/show&amp;gt;&amp;amp;key=keyvalue&amp;amp;target=&amp;lt;device-id&amp;gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;The above is working from the ORACLE Procedure as well as browser.&lt;/P&gt;&lt;P style="text-align: left;"&gt;So it seems that userid xml is not working from oracle procedure.&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Please help or guide to resolve this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Oct 2013 10:19:20 GMT</pubDate>
    <dc:creator>vishal</dc:creator>
    <dc:date>2013-10-08T10:19:20Z</dc:date>
    <item>
      <title>REST XML API- USING ORACLE and Panaorama , Dynamic address object updation failure on Palo-Alto Devices</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/rest-xml-api-using-oracle-and-panaorama-dynamic-address-object/m-p/4421#M3277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: left;"&gt;The Oracle server is making REST-XML API request from a SQL PROCEDURE using the UTL_HTTP package to Panorama server for the below&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;OL style="text-align: left;"&gt;&lt;LI&gt;key generation for panorama&amp;nbsp;&amp;nbsp; [ Successful ]&lt;/LI&gt;&lt;LI&gt;Dynamic object creation on panorama&amp;nbsp;&amp;nbsp; [ Successful ]&lt;/LI&gt;&lt;LI&gt;FW rule creation on panorama&amp;nbsp;&amp;nbsp; [ Successful ]&lt;/LI&gt;&lt;LI&gt;commit ALL panorama&amp;nbsp;&amp;nbsp;&amp;nbsp; [ Successful ]&lt;/LI&gt;&lt;LI&gt;commit on device group using panorama&amp;nbsp; [ Successful ]&lt;/LI&gt;&lt;LI&gt;update [register/unregistered] dynamic address objects using panorama&amp;nbsp;&amp;nbsp; [&lt;STRONG&gt; Failure : 502 Bad Gateway (&amp;nbsp; UTL_HTTP package error)&lt;/STRONG&gt; ]&lt;/LI&gt;&lt;/OL&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;As a single point of management panorama is used.&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;The last one ( 6th ) request is failing as panorama is used as a proxy to update the dynamic address object on device. The same request is getting successful when run through the Browser.&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN&gt;Sample XML API Request is : &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://pan-aus-e001.corp.wayport.net/api/?type=user-id&amp;amp;action=set&amp;amp;vsys=vsys1&amp;amp;cmd="&gt;https://&amp;lt;panorama_host_name&amp;gt;/api/?type=user-id&amp;amp;action=set&amp;amp;vsys=vsys1&amp;amp;cmd=&lt;/A&gt;&lt;SPAN&gt;&amp;lt;uid-message&amp;gt;&amp;lt;version&amp;gt;1.1&amp;lt;/version&amp;gt;&amp;lt;type&amp;gt;update&amp;lt;/type&amp;gt;&amp;lt;payload&amp;gt;&amp;lt;register&amp;gt;&amp;lt;entry identifier="dy1" ip="1.1.1.5"&amp;gt;&amp;lt;/entry&amp;gt;&amp;lt;/register&amp;gt;&amp;lt;/payload&amp;gt;&amp;lt;/uid-message&amp;gt;&amp;amp;key=&amp;lt;key_value&amp;gt;&amp;amp;target=&amp;lt;device-id&amp;gt;'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;When debugged on the device using below commands -&lt;/P&gt;&lt;P style="text-align: left;"&gt;debug user-id on debug&lt;/P&gt;&lt;P style="text-align: left;"&gt;debug user-id set userid all&lt;/P&gt;&lt;P style="text-align: left;"&gt;tail follow yes mp-log useridd.log&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;I am able to see request coming on the device when run through the BROWSER. but NOT when run through the Oracle server procedure.&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Below different command from the oracle procedure to ensure that request is getting reached from panorama to device-&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;A href="https://pan-aus-e001.corp.wayport.net/api/?type=op&amp;amp;cmd=%3Cshow%3E%3Csystem%3E%3Cinfo%3E%3C/info%3E%3C/system%3E%3C/show%3E&amp;amp;key=LUFRPT1mTS9OdzE3SDREVXBBRzYzamtoTHNZSk5BUDQ9MmUyaUlERWwvUlI1UFRWNHJrZkxnUT09&amp;amp;target=001801003740" title="https://pan-aus-e001.corp.wayport.net/api/?type=op&amp;amp;cmd=&amp;lt;show&amp;gt;&amp;lt;system&amp;gt;&amp;lt;info&amp;gt;&amp;lt;/info&amp;gt;&amp;lt;/system&amp;gt;&amp;lt;/show&amp;gt;&amp;amp;key=LUFRPT1mTS9OdzE3SDREVXBBRzYzamtoTHNZSk5BUDQ9MmUyaUlERWwvUlI1UFRWNHJrZkxnUT09&amp;amp;target=001801003740"&gt;https://&amp;lt;panorama_host_name&amp;gt;/api/?type=op&amp;amp;cmd=&amp;lt;show&amp;gt;&amp;lt;system&amp;gt;&amp;lt;info&amp;gt;&amp;lt;/info&amp;gt;&amp;lt;/system&amp;gt;&amp;lt;/show&amp;gt;&amp;amp;key=keyvalue&amp;amp;target=&amp;lt;device-id&amp;gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;The above is working from the ORACLE Procedure as well as browser.&lt;/P&gt;&lt;P style="text-align: left;"&gt;So it seems that userid xml is not working from oracle procedure.&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Please help or guide to resolve this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 10:19:20 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/rest-xml-api-using-oracle-and-panaorama-dynamic-address-object/m-p/4421#M3277</guid>
      <dc:creator>vishal</dc:creator>
      <dc:date>2013-10-08T10:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: REST XML API- USING ORACLE and Panaorama , Dynamic address object updation failure on Palo-Alto Devices</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/rest-xml-api-using-oracle-and-panaorama-dynamic-address-object/m-p/4422#M3278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you find it out for resolved way?&lt;/P&gt;&lt;P&gt;If you did, please let me know it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;KC Lee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2015 10:59:57 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/rest-xml-api-using-oracle-and-panaorama-dynamic-address-object/m-p/4422#M3278</guid>
      <dc:creator>KiCheon.Lee</dc:creator>
      <dc:date>2015-04-14T10:59:57Z</dc:date>
    </item>
  </channel>
</rss>

