{"ref":"content:communicate-from-a-java-application-to-abap-via-websocket-rfc-using-jco-migratio","page":"/content/communicate-from-a-java-application-to-abap-via-websocket-rfc-using-jco-migratio","json":"/content/communicate-from-a-java-application-to-abap-via-websocket-rfc-using-jco-migratio.json","generated":"2026-10-30","drafted_with_ai":true,"entity":{"id":"communicate-from-a-java-application-to-abap-via-websocket-rfc-using-jco-migratio","title":"Communicate from a Java Application to ABAP via WebSocket RFC using JCo - Migration Guide","url":"https://community.sap.com/t5/technology-blog-posts-by-sap/communicate-from-a-java-application-to-abap-via-websocket-rfc-using-jco/ba-p/13981498","content_type":"blog","published_on":"source:sap-community","explains":[{"ref":"capability:rfc-connectivity","applies_to":{"ecosystems":["abap"]}},"capability:websocket"],"summary":"Walks a JCo setup from classic CPIC-based RFC to WebSocket RFC: swap the application- or message-server logon properties for jco.client.wshost and jco.client.wsport, and implement DestinationDataProvider's getSSLContext (and, for mTLS, getClientCertificate) since the new connection runs over TLS. It covers building the PKI trust on both sides — a local PKCS12 keystore for the Java side, STRUST's SSL-Server Standard certificate exported and imported for mutual trust on the ABAP side — and notes that on BTP, JCo paired with the [Destination service](artifact:btp-destination) already implements this via the [Connectivity service](artifact:btp-connectivity), so the custom SSLContext work can be skipped there.","short":"Migrating a JCo setup from CPIC-based RFC to WebSocket RFC","author":"simon_luser","published":"2025-01-21","provenance":{"discovered_via":[{"source":"source:sap-community","channel":"abap-connectivity-tag"}],"first_seen":"2026-10-10"},"drafted_with_ai":true},"readings":{"liveness":[{"label":"Checked against the source","tier":"unknown","evidence":"nobody has checked it"},{"label":"Source reachable","tier":"unknown","evidence":"not crawled"},{"label":"Age","tier":"fair","evidence":"published 21 months ago"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"good","evidence":"no recorded change after 2025-01-21"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":2491,"unit":"views"},{"value":1,"unit":"comments"},{"value":7,"unit":"likes"}]},"signals":{"views":2491,"likes":7,"comments":1,"metrics_at":"2026-10-25"},"series":null,"edges":{"authors":[]}}