I'm working on an application that talks to a client's web application using
SOAP. So the client has given use the url to send SOAP messages to.
Anyhow, as part of my validation code, I'll like to check if I can send messages to the client using the URL. The URL we have can be incorrect, point to the wrong place or some other problem.
In my validation can I just check if I can obtain a SocketConnection to the machine? For example:
Do I have to do more than that for my check?