[英]Calling a php SOP webservice from c# that does not support wsdl
Can any body have idea how to consume php soap web service that have no support wsdl. 任何人都可以知道如何使用不支持wsdl的php soap网络服务。
I want to add reference in .Net to generate client but failed. 我想在.Net中添加引用以生成客户端,但失败了。
When i saw in browser with ?wsdl it shows message wsdl is not supported. 当我在浏览器中看到带有?wsdl的内容时,它显示不支持消息wsdl。
You might want to consult the PHP: SOAP Manual and verify that you wrote the PHP webservice correctly. 您可能需要查阅PHP:SOAP手册,并验证您是否正确编写了PHP Web服务。
And you can also look at this example: PHP Webservice and C# / .NET SOAP Clients 您还可以查看以下示例: PHP Webservice和C#/ .NET SOAP客户端
You need to configure the SOAP Service to support WSDL 您需要配置SOAP服务以支持WSDL
(Web Services Description Language) An XML-based language for describing Web services and how to access them.
(Web服务描述语言)基于XML的语言,用于描述Web服务以及如何访问它们。
Otherwise .NET won't know what or how to use it. 否则,.NET将不知道什么或如何使用它。
Simply said: you can not. 简单地说:你不能。 WDSL is there for development environments to know how to deal with a web service.
WDSL可以让开发环境知道如何处理Web服务。 Whoever wrote the web serivce made sure (or was ignorant enough to now know) that it is not usable from any tooling support.
撰写Web服务的人员必须确保(或现在已经很无知)知道无法从任何工具支持中使用它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.