How to consume a WCF Web Service that uses custom username validation with a PHP page?

后端 未结 2 1471
既然无缘
既然无缘 2020-12-01 15:35

I\'m having hard time consuming a secure WCF Web Service from a PHP site. My knowledge in PHP are limited, I found various examples on the Web but didn\'t succeeded making t

2条回答
  •  北海茫月
    2020-12-01 16:00

    SOAP's a bit funny with Authentication (or can be), I have used the method from http://www.php.net/manual/en/soapclient.soapclient.php#101503 see comment from, faebu at faebu dot ch 21-Dec-2010 02:58 for doing exactly this a few times... it may help

    Essentially uses CURL to pass the authentication credentials... it may/may not work for you!

提交回复
热议问题