I am trying to consume a web service from a third party using a java service.
The 3rd party have an API for using CURL to POST a CSV file with content.
If I test the call in POSTMAN, it runs perfectly.
I have tried to do this in Flow code using MIME Envelope and haven’t been able to successfully submit the payload. I get a response back from the 3rd Party saying the “file” payload was empty.
Another avenue we have explored is writing this all within a JAVA service.
I run the service through a standard java IDE and being Java 7 (with SNI support), I see there is an issue with certain web server configurations where “certain mis-configured servers send an ‘Unrecognized Name’ warning in the SSL handshake which is ignored by most clients… except for Java”
To overcome this issue, you can disable SNI for a particular single class using the
java -Djsse.enableSNIExtension=false setting.
I have tried adding this directive to the setenv.bat webMethods config file under the JAVA_CUSTOM_OPTS setting but I can’t seem to get it to disable SNI.
Does anyone have any ideas on how to disable SNI for a particular java service?
Or how to specify the parameter? Is it zzPackageName.serviceName ?
Last resort is to use the Execute Command option in wM but I wish to avoid this for many reasons.
This is on webMethods 9.0.1 on 64 bit Windows Server 2012R2