I have shared the standard soap wsdl with the third party. Its being used by them to create records in salesforce. They are using .NET to integrate with Salesforce. We are able to create records using SOAP UI using the credentials shared with them. But when they are using it using their code, they are getting below error
The underlying connection was closed:Could not establish trust relationship
However they are able to get the session Id using the login method. Can anyone help me understand what might be the issue here. They are connecting using TLS 1.2.
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 Or SecurityProtocolType.Ssl3 Or SecurityProtocolType.Tls Or SecurityProtocolType.Tls11 Dim binding As New BasicHttpBinding(BasicHttpSecurityMode.Transport) binding.Security.Transport.ClientCredentialType = HttpClientCredentialType.Basic binding.Security.Transport.Realm = "" SFMethodCall.Url = "https://cs101.my.salesforce.com/services/Soap/c/46.0/" Dim address As New EndpointAddress(SFMethodCall.Url) '' intiate request and pass header details including sessionID Dim mySessionHeader As New SFWSDL1.SessionHeader mySessionHeader.sessionId = SessionID Dim myAllOrNoneHeader As New SFWSDL1.AllOrNoneHeader myAllOrNoneHeader.allOrNone = True