|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-04-28 18:43 UTC] jani@php.net
[2009-05-06 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 20:00:01 2025 UTC |
Description: ------------ when using the local_cert/passphrase options to soapclient() soapclient will not use the https cert specified with local_cert to connect to the server that contains the wsdl file (it will however use it when making the actual soap request). I understand that this may not always be needed, but their should be no reason that a wsdl file need to be public, so maybe there could be an option to use the local_cert/passphrase when fetching the wsdl (and automatically disable wsdl cache for those urls if need be [not sure if you guys consider that a security issue]) Reproduce code: --------------- $mailer = new SoapClient(EMAIL_ACCESS_URL, array('classmap', $wsdl_classmap, 'local_cert' => EMAIL_HTTPS_CERT,'passphrase' => EMAIL_CERT_PASS)); Expected result: ---------------- not throw an error Actual result: -------------- throws error saying it cannot parse the wsdl...which is very misleading, it mentions about errors fetching the file Note: It can be worked around by fetching it with curl and writing to a temp file and using that to construct the SoapClient() object