在 .Net 中使用虚线 Web 服务方法名称
我正在尝试使用 CGI 网络服务。 Web 服务方法名称包含破折号,wsdl.exe 将它们从生成的代理类中删除。
尝试使用代理类 Web 服务时出现错误:“方法 'q1:methodname' 未实现:方法名称或命名空间无法识别”
然后我尝试在 Invoke 中更改 MedhodName 参数(使用原始的虚线方法名称)代理类中的 BeginInvoke 函数。 但这次我收到错误“方法名称 Web 服务方法名称无效”。
有没有办法解决这个问题。 CGI Web 服务是另一家公司的应用程序,我无法更改它。
I'm trying to use a CGI web service. The Web Service method names contain dashes and wsdl.exe removes them in the generated proxy class.
Trying to use the proxy class web service I'm getting an error: "Method 'q1:methodname' not implemented: method name or namespace not recognized"
Then I've tried to change MedhodName parameters (with original dashed method name) in Invoke and BeginInvoke functions in the proxy class. But this time I'm getting an error "method-name Web Service method name is not valid."
Is there a way to solve this problem. The CGI web service is another company's application and I'm not able to change it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论