I am having a requirement to check the feasibility of being able to call ESQL/C programs directly from java. These ESQL applications are deployed in Linux and can be spawned multiple instances.
Currently they are being called from .NET via Camel application which finds the port and makes call via XML using Soap.
While searching I got few links to call Java from ESQL/C but couldn't find any for vice versa. Has anyone tried to call ESQL/C from Java?
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ns="http://tempuri.org/ns.xsd">
<SOAP-ENV:Body>
<ns:gatewayValidate>
<in>
<serverId>tpmDss</serverId>
<Request>getData101def1566030011</Request>
</in>
</ns:gatewayValidate>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Here serverId contains the name of the application which would be called with the payload in Request.
I am aware about JNI for calling C++ DLL's but I am afraid I don't have control to edit these legacy ESQL/C programs.