1

我有这段代码,我得到了 - SoapException 未处理:没有这样的操作“字符串”。有什么问题?如何处理这种异常?如果我把它放在 try/catch 块中,它对我没有多大帮助。

代码:

    public string PaymentOperation(string amount)
    {
            Microsoft.Web.Services3.SoapEnvelope results = base.SendRequestResponse("PaymentOperation", amount);
            return ((string)(results.GetBodyObject(typeof(string), this.SoapServiceAttribute.TargetNamespace)));     
    }
4

0 回答 0