1

My problem is that I tried changing the localhost to ip address/computer name and still cannot access. My web service link goes like this http://localhost:1228/TryService.asmx?op=HelloWorld.

How can I make it accessible thru the local area network?

Thanks for the reply

Current Code:

I haven't touched in webconfig

/// <summary>
/// Summary description for EDCService
/// </summary>
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[System.ComponentModel.ToolboxItem(false)]
// To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. 
// [System.Web.Script.Services.ScriptService]
public class EDCService : System.Web.Services.WebService
{

    [WebMethod]
    [ScriptMethod(ResponseFormat = ResponseFormat.Json)]
    public string HelloWorld()
    {
        return "Hello World";
    }
}

app MOVE TO IIS UPDATE:

ERROR

 HTTP Error 500.21 - Internal Server Error
Handler "PageHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler" in its module list
SHINHAN
  • 685
  • 2
  • 12
  • 28

0 Answers0