Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to consume WCF WebServices from PHP?

Tags:

.net

php

soap

wcf

I have to consume a WCF WebServices but the WSDL contains bindings that PHP doesn't support also.

SOAP-ERROR: Parsing WSDL: PHP-SOAP doesn't support transport 'http://schemas.microsoft.com/soap/named-pipe'

How to bypass this problem?

like image 927
Jader Dias Avatar asked Feb 01 '26 04:02

Jader Dias


1 Answers

It would seem that you are exposing the service using the net named pipe binding. This more than likely isn't going to work with php because it doesn't know how to speak SOAP/WS over named pipes.

Rather, you will want to use either the basic HTTP binding or the WS HTTP binding to expose your service and then consume it in PHP.

like image 192
casperOne Avatar answered Feb 03 '26 17:02

casperOne



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!