Web Service Error path property must set before calling the send method

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-11 03:59:08

问题


path property must set before calling the send method

What is the cause of this error?

Thanks


回答1:


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.

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.



来源:https://stackoverflow.com/questions/30722265/web-service-error-path-property-must-set-before-calling-the-send-method

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!