Search code examples
phpsymfonysoapdigest-authenticationhttp-digest

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.


Solution

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