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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: tbernard at qcsupply dot com
New email:
PHP Version: OS:

 

 [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-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 22:01:30 2024 UTC