I need to manually develop a SOAP communication in C# to consume some Java web services using SSL.
I was looking at a tutorial online and like many other tutorials it connects to the endpoint using:
TcpClient client = new TcpClient(machineName, port);
But I need to connect to something like this 192.168.0.1:8201/some/path and I can’t seem to find a way to specify the path. Also looked at IPEndpoint but also no luck there
Use
WebClientorHttpWebRequestinstead. For ex,You can also use WCF and try to add a
service referenceto your project