|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #44746 SoapFault: Only http and https are allowed
Submitted: 2008-04-16 18:20 UTC Modified: 2008-10-21 11:29 UTC
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:2 (100.0%)
From: rbrodka at kraftmaid dot com Assigned:
Status: Not a bug Package: SOAP related
PHP Version: 5.2.5 OS: Windows Server 2003 Std
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: rbrodka at kraftmaid dot com
New email:
PHP Version: OS:


 [2008-04-16 18:20 UTC] rbrodka at kraftmaid dot com
This seems to be the same error as bug #42637, but I got it on Windows Server 2003 Standard and PHP version 5.2.5.

I received the following error when trying to execute a soap client function (invokeService):

Fatal error: SOAP Fault: (faultcode: HTTP, faultstring: Unknown protocol. Only http and https are allowed.) in C:\randall\grid.php on line 36

The following functions work fine:

Reproduce code:
try {
	$wsdl   = 'http://KM2BPM1/ApplicationServiceGateway.wsdl';
	$client = new SoapClient($wsdl); 
	$params = array();
	$params['commandLine'] = 'GET.PHONE.EXTENSION.FOR.USER USER=rbrodka';
	$params['options']     = '';
	echo $client->invokeService($params);
} catch (SoapFault $fault) {
   trigger_error("SOAP Fault: (faultcode: {$fault->faultcode}, faultstring: {$fault->faultstring})", E_USER_ERROR);

Expected result:
I expected the code to execute without triggering an error.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-10-21 11:29 UTC]
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Nov 28 03:03:14 2021 UTC