必须在调用send方法之前设置Web Service错误路径属性 [英] Web Service Error path property must set before calling the send method

查看:301
本文介绍了必须在调用send方法之前设置Web Service错误路径属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

必须在调用send方法之前设置path属性

path property must set before calling the send method

此错误的原因是什么?

谢谢

推荐答案

通常意味着您正在使用的WSDL没有定义服务"部分来说明Web服务的位置.因此,该错误基本上是在告诉您,由于未定义目标,因此它不知道将方法调用发送到何处.

The usually means that the WSDL that you are using doesn't have a Service section defined to say where the web service is located. So the error is basically telling you that it doesn't know where to send the method call because there is no destination defined.

创建服务实例时,请尝试将Url属性设置为服务的位置,然后尝试再次调用该方法.

When you create an instance of the serivce try setting the Url property to the location of the service and then try calling the method again.

这篇关于必须在调用send方法之前设置Web Service错误路径属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆