So, inside of Sybase Unwired Workspace, I am trying to make
a new direct connection to a remote SAP server.

The SAP server I try to connect to doesn't have saprouter
enabled and is listening on port 3200.

And I tried entering this (replaced the actual IP with
1.1.1.1):

Application Server: /H/1.1.1.1/S/3200/H/1.1.1.1
System ID: X10
System Number: 00

But I get this error when testing the connection:

com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION:
SAP_CMINIT3 : rc=20 > Connect to SAP gateway failed
Connect_PM GWHOST=/H/1.1.1.1/S/3200/H/1.1.1.1,
GWSERV=sapgw00, SYSNR=00

LOCATION CPIC (TCP/IP) on local host
ERROR internal error
TIME Mon Jun 11 15:46:30 2012
RELEASE 720
COMPONENT NI (network interface)
VERSION 40
RC -1
MODULE nibuf.cpp
LINE 2868
DETAIL NiBufIIn: invalid data received
COUNTER 4
at
com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeConnect(Native
Method)
at
com.sap.mw.jco.rfc.MiddlewareRFC$Client.connect(MiddlewareRFC.java:1125)
at com.sap.mw.jco.JCO$Client.connect(JCO.java:3272)
at
com.sybase.uep.datasources.sap.core.SAPJCoConnection.<init>(SAPJCoConnection.java:50)
at
com.sybase.uep.datasources.sap.core.SAPJCoConnectionFactory.createConnection(SAPJCoConnectionFactory.java:27)
at
org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(Unknown
Source)
at
org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(Unknown
Source)
at
org.eclipse.datatools.connectivity.ui.PingJob.createTestConnection(Unknown
Source)
at
org.eclipse.datatools.connectivity.ui.PingJob.run(Unknown
Source)
at
org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)