A
axel22
I've made a web service in c# and published it with IIS. I can access
it's methods locally,
but when a colleague tried to access the Web Service over the Internet
using my IP address,
he succeeded in getting the xml interface, but he couldn't invoke any
methods.
I on the other hand can do it on my computer.
What do I do?
using System;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
[WebService(Namespace = "http://localhost/Published")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
public class Service : System.Web.Services.WebService
{
public Service () {
//Uncomment the following line if using designed components
//InitializeComponent();
}
[WebMethod]
public int getNumber() {
return 186;
}
}
it's methods locally,
but when a colleague tried to access the Web Service over the Internet
using my IP address,
he succeeded in getting the xml interface, but he couldn't invoke any
methods.
I on the other hand can do it on my computer.
What do I do?
using System;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
[WebService(Namespace = "http://localhost/Published")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
public class Service : System.Web.Services.WebService
{
public Service () {
//Uncomment the following line if using designed components
//InitializeComponent();
}
[WebMethod]
public int getNumber() {
return 186;
}
}