<?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>Question Re: Communicate from SAP Public Cloud to Java Application (Jco Server) via WebSocketRFC Problem in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/communicate-from-sap-public-cloud-to-java-application-jco-server-via/qaa-p/13999587#M4901002</link>
    <description>Do you see the full failure text? Can you activate JCo trace to see if you even reach the JCo server?</description>
    <pubDate>Tue, 28 Jan 2025 16:42:00 GMT</pubDate>
    <dc:creator>simon_luser</dc:creator>
    <dc:date>2025-01-28T16:42:00Z</dc:date>
    <item>
      <title>Communicate from SAP Public Cloud to Java Application (Jco Server) via WebSocketRFC Problem</title>
      <link>https://community.sap.com/t5/technology-q-a/communicate-from-sap-public-cloud-to-java-application-jco-server-via/qaq-p/13999305</link>
      <description>&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;i am having a problem while trying to call a outbound service from the SAP Public Cloud to a external JCo WebSocketRFC Server instance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My JCo WebSocketRFC server is running on a VM that is exposed to the internet on port 8080.&lt;/P&gt;&lt;P&gt;In the SAP Public Cloud i have already configured the communication system where i have just entered the "Host Name" of my VM and set the Authentification Method in the "Users for Outbound Communication" to None since i do not need the authentification for the tests.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrzej_rosinski_0-1738069096899.png" style="width: 626px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/218280i5CA10B2A390FB2B4/image-dimensions/626x80?v=v2" width="626" height="80" role="button" title="andrzej_rosinski_0-1738069096899.png" alt="andrzej_rosinski_0-1738069096899.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have also configured a communication agreement for the communication system&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrzej_rosinski_1-1738069224536.png" style="width: 628px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/218283iCBAFBAB292576C43/image-dimensions/628x142?v=v2" width="628" height="142" role="button" title="andrzej_rosinski_1-1738069224536.png" alt="andrzej_rosinski_1-1738069224536.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;On the Eclipse ADT side i have a communication scenario that looks like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrzej_rosinski_2-1738069368158.png" style="width: 677px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/218284i85FF3530A1A0DB40/image-dimensions/677x386?v=v2" width="677" height="386" role="button" title="andrzej_rosinski_2-1738069368158.png" alt="andrzej_rosinski_2-1738069368158.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;with the corresponding outbound service&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrzej_rosinski_3-1738069410114.png" style="width: 686px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/218287i483C2847792264F4/image-dimensions/686x160?v=v2" width="686" height="160" role="button" title="andrzej_rosinski_3-1738069410114.png" alt="andrzej_rosinski_3-1738069410114.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, when i try to call the outbound service from SAP Public Cloud ABAP with the corresponding code:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrzej_rosinski_6-1738070185661.png" style="width: 701px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/218292iC3D3040168E6C3B3/image-dimensions/701x640?v=v2" width="701" height="640" role="button" title="andrzej_rosinski_6-1738070185661.png" alt="andrzej_rosinski_6-1738070185661.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrzej_rosinski_5-1738069869362.png" style="width: 703px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/218291i21E0DBE2160123FA/image-dimensions/703x559?v=v2" width="703" height="559" role="button" title="andrzej_rosinski_5-1738069869362.png" alt="andrzej_rosinski_5-1738069869362.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;like described by SAP i get the following error&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrzej_rosinski_7-1738070655154.png" style="width: 784px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/218295i5A74B7666592C5B6/image-dimensions/784x16?v=v2" width="784" height="16" role="button" title="andrzej_rosinski_7-1738070655154.png" alt="andrzej_rosinski_7-1738070655154.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Anyone has an idea why this fails? Dis anyone made a scenario like this before? - to communicate from the SAP Public Cloud to a external server program? I have only found tutorials how to communicate with on prem systems.&lt;/P&gt;&lt;P&gt;The JcoTrace for the server says the following (i have replaced the real IP with "hostname" in the screenshot)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrzej_rosinski_1-1738137908962.png" style="width: 806px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/218578iECED119DD3D44DE4/image-dimensions/806x268?v=v2" width="806" height="268" role="button" title="andrzej_rosinski_1-1738137908962.png" alt="andrzej_rosinski_1-1738137908962.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrzej_rosinski_2-1738138048772.png" style="width: 800px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/218581iD615EE4DBCE9AF55/image-dimensions/800x266?v=v2" width="800" height="266" role="button" title="andrzej_rosinski_2-1738138048772.png" alt="andrzej_rosinski_2-1738138048772.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrzej_rosinski_4-1738138325596.png" style="width: 822px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/218590i061BC5E6C0183B63/image-dimensions/822x331?v=v2" width="822" height="331" role="button" title="andrzej_rosinski_4-1738138325596.png" alt="andrzej_rosinski_4-1738138325596.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrzej_rosinski_5-1738138383475.png" style="width: 837px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/218591i7217D96652A86118/image-dimensions/837x191?v=v2" width="837" height="191" role="button" title="andrzej_rosinski_5-1738138383475.png" alt="andrzej_rosinski_5-1738138383475.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;obviously the handshake cannot be completed. I am trying to connect to the server withot any authentification (i have set the communication scenario to "Unauthentifiacted" and i have startet the Jco server without any p12 files - jco.server.use_tls=0).&lt;/P&gt;&lt;P&gt;Server props:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrzej_rosinski_6-1738138858738.png" style="width: 796px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/218597i6ABB16E876BD22FB/image-dimensions/796x217?v=v2" width="796" height="217" role="button" title="andrzej_rosinski_6-1738138858738.png" alt="andrzej_rosinski_6-1738138858738.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/121864"&gt;@MarkusTolksdorf&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/771659"&gt;@simon_luser&lt;/a&gt;&amp;nbsp;Thanks for your reply, i have added the Trace from the Jco. Could the problem be the missing authorisation?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 08:24:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/communicate-from-sap-public-cloud-to-java-application-jco-server-via/qaq-p/13999305</guid>
      <dc:creator>andrzej_rosinski</dc:creator>
      <dc:date>2025-01-29T08:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Communicate from SAP Public Cloud to Java Application (Jco Server) via WebSocketRFC Problem</title>
      <link>https://community.sap.com/t5/technology-q-a/communicate-from-sap-public-cloud-to-java-application-jco-server-via/qaa-p/13999587#M4901002</link>
      <description>Do you see the full failure text? Can you activate JCo trace to see if you even reach the JCo server?</description>
      <pubDate>Tue, 28 Jan 2025 16:42:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/communicate-from-sap-public-cloud-to-java-application-jco-server-via/qaa-p/13999587#M4901002</guid>
      <dc:creator>simon_luser</dc:creator>
      <dc:date>2025-01-28T16:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Communicate from SAP Public Cloud to Java Application...</title>
      <link>https://community.sap.com/t5/technology-q-a/communicate-from-sap-public-cloud-to-java-application-jco-server-via/qaa-p/13999981#M4901057</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/482644"&gt;@andrzej_rosinski&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you have now added more details about the JCoServer, in particular, that you are not using TLS, explains it. To my knowledge, plain communication is not allowed for WebSocket RFC from Steampunk systems.&amp;nbsp; Simply try with a simple certificate and import the CA of it as trusted in the Steampunk system&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;Markus&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 08:32:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/communicate-from-sap-public-cloud-to-java-application-jco-server-via/qaa-p/13999981#M4901057</guid>
      <dc:creator>MarkusTolksdorf</dc:creator>
      <dc:date>2025-01-29T08:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Communicate from SAP Public Cloud to Java Application...</title>
      <link>https://community.sap.com/t5/technology-q-a/communicate-from-sap-public-cloud-to-java-application-jco-server-via/qaa-p/14000039#M4901070</link>
      <description>&lt;P&gt;The problem is currently&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;jco.server.use_tls=0&lt;/STRONG&gt;, this is actually not supported from ABAP cloud clients, they will &lt;STRONG&gt;always&lt;/STRONG&gt; communicate via TLS, however your current JCo server expects plain WebSocket communication now with this setting. For testing purposes you can create and setup a simple p12 file containing an own server certificate which ABAP trusts.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 08:33:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/communicate-from-sap-public-cloud-to-java-application-jco-server-via/qaa-p/14000039#M4901070</guid>
      <dc:creator>simon_luser</dc:creator>
      <dc:date>2025-01-29T08:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: Communicate from SAP Public Cloud to Java Application...</title>
      <link>https://community.sap.com/t5/technology-q-a/communicate-from-sap-public-cloud-to-java-application-jco-server-via/qaa-p/14001206#M4901233</link>
      <description>Yes &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; that was the problem. So TLS is obligatory in this scenario ane one cannot daectivate it with the parameter jco.server.use_tls=0. I have created a empty p12 keystore and also set the jco.server.wsport to 443 (i didn't worked on 8080) Thank you very much!</description>
      <pubDate>Thu, 30 Jan 2025 08:51:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/communicate-from-sap-public-cloud-to-java-application-jco-server-via/qaa-p/14001206#M4901233</guid>
      <dc:creator>andrzej_rosinski</dc:creator>
      <dc:date>2025-01-30T08:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Communicate from SAP Public Cloud to Java Application...</title>
      <link>https://community.sap.com/t5/technology-q-a/communicate-from-sap-public-cloud-to-java-application-jco-server-via/qaa-p/14001232#M4901238</link>
      <description>This property will only deactivate it on JCo side, but not on the ABAP part &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;</description>
      <pubDate>Thu, 30 Jan 2025 09:13:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/communicate-from-sap-public-cloud-to-java-application-jco-server-via/qaa-p/14001232#M4901238</guid>
      <dc:creator>simon_luser</dc:creator>
      <dc:date>2025-01-30T09:13:30Z</dc:date>
    </item>
  </channel>
</rss>

