<?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: Problem with connection to sas viya server in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Problem-with-connection-to-sas-viya-server/m-p/613236#M596</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/304155"&gt;@Turla&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The root CA certificate needs to be provided to CAS clients. Clients include SAS 9.4M5 clients that can directly access CAS, SWAT (Java, R, Lua), Python, and REST clients. Please see more details in &lt;A href="https://go.documentation.sas.com/?cdcId=calcdc&amp;amp;cdcVersion=3.5&amp;amp;docsetId=calencryptmotion&amp;amp;docsetTarget=n1xdqv1sezyrahn17erzcunxwix9.htm&amp;amp;locale=en" target="_blank" rel="noopener"&gt;SAS® Viya® 3.5 Administration -&amp;gt; Data in Motion -&amp;gt; How To&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Fri, 20 Dec 2019 14:12:15 GMT</pubDate>
    <dc:creator>alexal</dc:creator>
    <dc:date>2019-12-20T14:12:15Z</dc:date>
    <item>
      <title>Problem with connection to sas viya server</title>
      <link>https://communities.sas.com/t5/Developers/Problem-with-connection-to-sas-viya-server/m-p/613231#M593</link>
      <description>&lt;P&gt;im trying to connect to sas viya server, but get an exception&amp;nbsp;&lt;/P&gt;
&lt;P&gt;'unable to find valid certification path to requested target'&lt;/P&gt;
&lt;P&gt;what can i make with this&lt;BR /&gt;like ignoring or smth else&lt;BR /&gt;also i have no access for certificate&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 13:51:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Problem-with-connection-to-sas-viya-server/m-p/613231#M593</guid>
      <dc:creator>Turla</dc:creator>
      <dc:date>2019-12-20T13:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with connection to sas viya server</title>
      <link>https://communities.sas.com/t5/Developers/Problem-with-connection-to-sas-viya-server/m-p/613233#M594</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/304155"&gt;@Turla&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How are you trying to connect? Via the browser or EG?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 13:54:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Problem-with-connection-to-sas-viya-server/m-p/613233#M594</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2019-12-20T13:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with connection to sas viya server</title>
      <link>https://communities.sas.com/t5/Developers/Problem-with-connection-to-sas-viya-server/m-p/613235#M595</link>
      <description>&lt;P&gt;through the java code&lt;/P&gt;
&lt;PRE&gt;public static void main(String[] args) throws IOException, CASException, KeyManagementException, NoSuchAlgorithmException {
            
            //-----------------------
            CASClientInterface client = new CASClient("**.**.**.**", 5570, "****", "****"); // 1

            String path = "CASUSER.HEART";
            String table = "HEART";
            String vars = "Status,sex,AgeAtDeath,Weight_Status,Smoking_Status";

            //обращаемся к таблице
            if (path != null){
                LoadTableOptions lto = new LoadTableOptions();
                lto.setPath(path);
                client.invoke(lto);
            }

            //создаем настройки выборки
            FetchOptions opt = new FetchOptions();
            Castable tble = new Castable();
            tble.setName(table);
            String[] vrs = getStringArrayProperty(vars);

            if(vrs != null){
                tble.setParameter(Castable.KEY_VARS, vrs);
            }

            opt.setTable(tble);
            opt.setSasTypes(false);

            //выбираем данные
            CASActionResults&amp;lt;CASValue&amp;gt; results = client.invoke(opt);
            //выводим результат
            if (results.getResultsCount() &amp;gt; 0){
                dumpByRow((CASTable) results.getResult(0).getValue());
            }
        }&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 14:04:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Problem-with-connection-to-sas-viya-server/m-p/613235#M595</guid>
      <dc:creator>Turla</dc:creator>
      <dc:date>2019-12-20T14:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with connection to sas viya server</title>
      <link>https://communities.sas.com/t5/Developers/Problem-with-connection-to-sas-viya-server/m-p/613236#M596</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/304155"&gt;@Turla&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The root CA certificate needs to be provided to CAS clients. Clients include SAS 9.4M5 clients that can directly access CAS, SWAT (Java, R, Lua), Python, and REST clients. Please see more details in &lt;A href="https://go.documentation.sas.com/?cdcId=calcdc&amp;amp;cdcVersion=3.5&amp;amp;docsetId=calencryptmotion&amp;amp;docsetTarget=n1xdqv1sezyrahn17erzcunxwix9.htm&amp;amp;locale=en" target="_blank" rel="noopener"&gt;SAS® Viya® 3.5 Administration -&amp;gt; Data in Motion -&amp;gt; How To&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 14:12:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Problem-with-connection-to-sas-viya-server/m-p/613236#M596</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2019-12-20T14:12:15Z</dc:date>
    </item>
  </channel>
</rss>

