我必须使用 WCF Web 服务,但 WSDL 包含 PHP 也不支持的绑定(bind)。
SOAP-ERROR: Parsing WSDL: PHP-SOAP doesn't support transport 'http://schemas.microsoft.com/soap/named-pipe'
如何绕过这个问题?
最佳答案
看起来您正在使用 net named pipe binding 公开服务.这很可能不适用于 php,因为它不知道如何通过命名管道使用 SOAP/WS。
相反,您会想要使用 basic HTTP binding或 WS HTTP binding公开您的服务,然后在 PHP 中使用它。
关于.net - 如何从 PHP 使用 WCF Web 服务?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2555493/