How to test Webservice on the Web?

  • Thread starter Thread starter kai
  • Start date Start date
K

kai

Hi, All
I created a Webservice locally, and it returns all coustomers names in XML
format when I click "Invoke" button. But when I test from the Web, it says

"The test form is only available for requests from the local machine. ".

Can I get the same invoke result from local computer on the Web?

Thanks

Kai
 
Hi Kai,

Based on my research and experience, the following article is useful to
you. Please refer to it carefully.

INFO: HTTP GET and HTTP POST Are Disabled by Default
http://support.microsoft.com/default.aspx?scid=kb;en-us;819267
"...
The .NET Framework 1.1 defines a new protocol that is named
HttpPostLocalhost. By default, this new protocol is enabled. This protocol
permits invoking Web services that use HTTP POST requests from applications
on the same computer. This is true provided the POST URL uses
http://localhost, not http://hostname. This permits Web service developers
to use the HTML-based test form to invoke the Web service from the same
computer where the Web service resides.

When you try to access the Web service from a remote computer you do not
see the Invoke button. And, you receive the following error message:

The test form is only available for requests from the local machine
..."

Does it answer your question? If I have misunderstood your concern, please
feel free to let me know.

Best regards,

Jacob Yang
Microsoft Online Partner Support
Get Secure! ¨C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Back
Top