To test the Web Service, you have to enter the URL of the Web Service in the browser: http://[HostName]/[PackageName]/[ServiceName].asmx. For example: http://localhost/StockQuote/StockQuote.asmx.
The IIS Web server will generate a testing tab to let you test the deployed Web Service if the input parameters and the return value use simple data types.
To test Web Services with complex data types, you have to create a testing program using Web Service proxy or use a tool to send a SOAP message to the Web Service.