|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #68975 Somewhat misleading description
Submitted: 2015-02-02 17:20 UTC Modified: 2016-11-30 18:44 UTC
From: tbernard at qcsupply dot com Assigned:
Status: Open Package: SOAP related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
2 + 3 = ?
Subscribe to this entry?

 [2015-02-02 17:20 UTC] tbernard at qcsupply dot com
From manual page:
The documentation indicates __doRequest can be used to implement custom transport layers et al.  However I think it's important to note that this is only for the purpose of CALLING functions. Fetching the WSDL which is done in the constructor does not reference __doRequest and thus will not use whatever authentication, transport protocol, etc is contained therein.  To fetch the WSDL a custom stream_context has to be setup instead.

Took me quite a while to figure this "gotcha" out as a first-time SOAPClient user.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-11-30 18:44 UTC]
-Package: Documentation problem +Package: SOAP related
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Feb 24 15:01:30 2020 UTC