To develop a web service using. net, you can use IE to directly test the web service. When your web service parameters are of the metadata type, you can enter the required parameters in the input box of the page as long as you use IE to browse Web Service and click call to complete the Web service test call. Convenient!
However, in some cases, even though all the web services we develop use metadata-type parameters, why cannot we directly call the test? Why is the format definition of the soap message displayed when you click the method link? This problem has never been solved. You can find a solution by Google, as long as we add this configuration under the system. Web configuration node in Web. config:
< WebServices >
< Protocols >
< Add name = " Httppost " />
< Add name = " Httpget " />
< Add name = " Httppostlocalhost " />
</ Protocols >
</ WebServices >
Related information:Http://msdn.microsoft.com/en-us/library/aa560062.aspx