Hi Michael,
good question...i know for example in PI the file adapter has a functionality to avoid such an error:
1992392 - SSLException due to name mismatch in FTPS Adapter
1591971 - Added property strictHostnameChecking
But for WS calls i doubt that such feature exists. Instead of looking for a functionality to disable this check i would advise to solve the error.
According to the error message the target server provides a certificate with CN filed: form.xyz.com .
But in your call you are trying to connect to the xyz.com host. Since these does not match exactly the error is thrown.
So either try to modify the certificate of the target server, or ensure that your call is calling the same host name what is available in the CN field of the cerfitiface. Also probably the host file of the server from where the call is started has to contain the host name and IP address pair of this target server.
Best Regards,
Viktor