tiaguinho / gosoap

🦉SOAP package for Go
MIT License
515 stars 179 forks source link

Request with TLS1.2 - tls: handshake failure #26

Open ronakthamor opened 5 years ago

ronakthamor commented 5 years ago

How can I check if I am requesting with which TLS version? Requirement of SOAP API is to connect with TLS1.2. How should I add that config while calling method?

Code:

soap, err := gosoap.SoapClient(WSDL_URL)
err = soap.Call("__getFunctions", gosoap.Params{})

Error I am getting is:

remote error: tls: handshake failure