How i can determine when a web service is available (on-line)? in Delphi or C#?
To just check if your Web Service is working, try invoking the url in soap:address location attribute of WSDL following by ? wsdl. In browser, check if http://localhost:8080/ABCService/ABCPort?wsdl is working. This tells you if web service is really up and running.
Another way to check if DC service is set up and running is straight from the IIS Manager. Open up Internet Information Service (IIS) Manager, right click DataCollection Service website (name may be different depending on previous setup), Manage Web Site > Browse.
There are a few central types of web services: XML-RPC, UDDI, SOAP, and REST: XML-RPC (Remote Procedure Call) is the most basic XML protocol to exchange data between a wide variety of devices on a network. It uses HTTP to quickly and easily transfer data and communication other information from client to server.
Just do a valid call to the web service. If it times out, or you get a 404 error, the web service is not available.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With