<?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: Calling RESTful Web Services from JMP in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Calling-RESTful-Web-Services-from-JMP/m-p/46948#M26752</link>
    <description>&lt;P&gt;Reminder for my future self... of this features available in JMP 13&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;The Internet Open Timeout preference on the General preference page applies to opening web pages with the Internet Open feature. JMP waits the specified number of seconds before stopping the import due to an error. 60 seconds is the default value.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;and the new http request function coming in JMP 14.&lt;/P&gt;</description>
    <pubDate>Thu, 09 Nov 2017 00:27:47 GMT</pubDate>
    <dc:creator>landon</dc:creator>
    <dc:date>2017-11-09T00:27:47Z</dc:date>
    <item>
      <title>Calling RESTful Web Services from JMP</title>
      <link>https://community.jmp.com/t5/Discussions/Calling-RESTful-Web-Services-from-JMP/m-p/5380#M5379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to invoke a restful web service from JMP? If so, are there any code examples that can be shared?RESTful Web Services from within JMP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2012 22:14:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Calling-RESTful-Web-Services-from-JMP/m-p/5380#M5379</guid>
      <dc:creator>bernie</dc:creator>
      <dc:date>2012-07-30T22:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: Calling RESTful Web Services from JMP</title>
      <link>https://community.jmp.com/t5/Discussions/Calling-RESTful-Web-Services-from-JMP/m-p/5381#M5380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We were recently looking to call some REST APIs (like hitting a Hadoop cluster and running a custom task in pig or spark) from JMP/JSL... and ended up using the Open function with a custom URL that gets generated from user inputs. &lt;SPAN style="font-size: 13.3333px;"&gt;This is similar to what can be done manually using File -&amp;gt; Internet Open with the 'Open As' set to Data (as pointed out by many Discussions). &lt;/SPAN&gt;Our REST API returns CSV/TSV formatted text that is easily imported by JMP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We did run into issues with timeouts due to the WinINet API (see &lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: #1f497d;"&gt;&lt;A href="https://msdn.microsoft.com/en-us/library/windows/desktop/aa384066(v=vs.85).aspx"&gt;https://msdn.microsoft.com/en-us/library/windows/desktop/aa384066(v=vs.85).aspx&lt;/A&gt;&lt;/SPAN&gt; where WINHTTP_OPTION_RECEIVE_TIMEOUT has a default value of 30 seconds), and would get an error with "The operation timed out". We ended up adding the code below to our JSL Script to add a registry item to extend/override the default timeout (following the fix mentioned at &lt;A href="https://support.microsoft.com/en-us/kb/181050" title="https://support.microsoft.com/en-us/kb/181050"&gt;https://support.microsoft.com/en-us/kb/181050&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RP = RunProgram(&lt;/P&gt;&lt;P&gt;&amp;nbsp; Executable( "reg" ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Options(&lt;/P&gt;&lt;P&gt;&amp;nbsp; {"add",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "\!"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\!" /v \!"ReceiveTimeout\!" /t REG_DWORD /d \!"0x493E0\!" /f"&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; ReadFunction( "text" )&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2015 23:04:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Calling-RESTful-Web-Services-from-JMP/m-p/5381#M5380</guid>
      <dc:creator>landon</dc:creator>
      <dc:date>2015-12-01T23:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Calling RESTful Web Services from JMP</title>
      <link>https://community.jmp.com/t5/Discussions/Calling-RESTful-Web-Services-from-JMP/m-p/46948#M26752</link>
      <description>&lt;P&gt;Reminder for my future self... of this features available in JMP 13&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;The Internet Open Timeout preference on the General preference page applies to opening web pages with the Internet Open feature. JMP waits the specified number of seconds before stopping the import due to an error. 60 seconds is the default value.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;and the new http request function coming in JMP 14.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 00:27:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Calling-RESTful-Web-Services-from-JMP/m-p/46948#M26752</guid>
      <dc:creator>landon</dc:creator>
      <dc:date>2017-11-09T00:27:47Z</dc:date>
    </item>
  </channel>
</rss>

