单一Web服务未处理的异常

时间:2013-08-27 19:10:35

标签: c# service web mono

我创建了一个非常简单的Web服务,并在我的项目中引用它,它在我定义它时都会检出...

wstest.Service1 ws;
ws = new wstest.Service1(); string xx = ws.HelloWorld();

但是当它运行时会在这里收到错误(Unhandled Exception / System.Net.WebExceptions)

public string HelloWorld() {
        object[] results = this.Invoke("HelloWorld", new object[0]);
        return ((string)(results[0]));
    }

似乎对Invoke一无所知......我被困住了,任何帮助都会受到赞赏,谢谢!

c #android web-services mono

0 个答案:

没有答案
相关问题