Test calling Web Service in IE

Source: Internet
Author: User
Tags format definition

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

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.