Our web services must be required with the current TLS version for the transaction with TLS 1.0 protocol. TLS 1.2 should be used in HTTPS connection while accessing our web services.
Set the security protocol TLS 1.2 before being called webservice as below.
System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12;
st_odeme = ws.TP_Islem_Odeme(st, SanalPOS_ID, ....)
Set the security protocol TLS 1.2 before being called webservice as below.
$mode = array
(
'soap_version' => 'SOAP_1_1',
'trace' => 1,
'stream_context' => stream_context_create(array(
'ssl' => array(
'crypto_method' => STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT,
)
))
);
$client = new SoapClient($Webservis_WSDL_URL, $mode);
If you are having problems, you can send your request to mail address.