简体   繁体   中英

PHP get wsdl behind digest authentication

I have to fetch a SOAP WSDL file that needs a digest authentication. When I write my \\SoapClient($wsdl) I get '403:Access denied' error.

I have acces to the wsdl file via browser, and i tried to save it locally but it's not a best practice giving the wsdl contains a auto-generated parameter that is enivrement related.

How can i do this? Thanks in advance.

I faced the same problem some time ago, you could see the solution here
I hope that answers your question

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM