php.net |  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
Have you experienced this issue?
Rate the importance of this bug to you:

 [2015-02-02 17:20 UTC] tbernard at qcsupply dot com
Description:
------------
---
From manual page: http://www.php.net/soapclient.dorequest
---
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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-11-30 18:44 UTC] cmb@php.net
-Package: Documentation problem +Package: SOAP related
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Wed May 22 23:01:33 2019 UTC