Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
|
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 2nd, 2004, 11:40 PM
Authorized User
 
Join Date: Nov 2003
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default Help me about WebService

Hello all
I create a WebService, then register with IIS
At local PC to access to methods of WS is OK. But other PC do not access success (LAN).
It report "The test form is only available for requests from the local machine".
I do not known the reason why. I hope everyone help me!

 
Old June 3rd, 2004, 06:44 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

This is not an error, it's a "feature". You are not experiencing a problem accessing the web service, but rather, the web service is denying you the ability to perform a test on it from a foreign machine. This is the standard setting for web services. If you were to try to connect to this web service with a regular web service interface (i.e. set up a web reference to it and call it with SOAP) you would not have any problems. Remember that a webservice is designed to be a computer-to-computer interaction, not a human-to-computer. If you do need to be able to see these from the human side, I think all you need to do is add a couple "add" nodes to the webservices/protocols node in your web.config:

<webServices>
    <protocols>
        <add name="HttpGet" />
        <add name="HttpPost" />
    </protocols>
</webServices>

Peter
-------------------------
Work smarter, not harder
 
Old June 3rd, 2004, 09:51 PM
Authorized User
 
Join Date: Nov 2003
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank Peter very much!






Similar Threads
Thread Thread Starter Forum Replies Last Post
to know Webservice vingo_mail ASP.NET 2.0 Basics 1 March 3rd, 2008 01:16 PM
Webservice listener dcrooks .NET Web Services 0 February 18th, 2005 05:33 PM
webservice hanuyedluri .NET Web Services 1 March 21st, 2004 05:16 PM
Properties of WebService sakalou J2EE 0 February 3rd, 2004 02:08 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.