For a Web Service, you can enter a parameter during local debugging and return a dataset. when deployed to the server, the input parameter box is not displayed, as shown below:
The test form can only be used for requests from local computers.
The remote attachment is used in the. exe file, not for web projects. Therefore, you can add the following configuration in the web. config file:
In. by default, the WEBSERVICE remote debugging function has been disabled in. Sometimes, when you need to remotely debug the program, you need to enable this function. We only need to add the web in the WEBSERVICE project. <system. in the web> Configuration section, add a configuration section and the code is as follows:
<System. web>
<Compilation debug = "true"/>
<WebServices>
<Protocols>
<Add name = "HttpSoap"/>
<Add name = "HttpPost"/>
<Add name = "HttpGet"/>
<Add name = "Documentation"/>
</Protocols>
</WebServices>
</System. web>