JS access to WebService "no permission" test form can only be used for requests from local computers"

Source: Internet
Author: User

At work, I found that the WebService on the local computer called by JS is displayed normally. When someone accesses my machine, it prompts "no permission" and no data is available! Try to publish it to the server. When you deploy a website and assign the ISAPI execution permission to the website, no such problem will be prompted!
To test whether the WebService is released normally, the system prompts "the test form can only be used for requests from the Local Computer" when calling the web service. httpget and httppost are not configured in config. The configuration in <system. Web> is as follows:
<WebServices>
<Protocols>
<Add name = "httppost"/>
<Add name = "httpget"/>
</Protocols>
</WebServices>
After configuration, you can directly call the WebService on the server on other machines for testing.

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.