Bug #53961 [Fbk]: soap over https with custom port does work
| From: | cataphract@php.net | Date: | Wed, 09 Feb 2011 13:24:38 +0000 |
| Subject: | Bug #53961 [Fbk]: soap over https with custom port does work | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-158651@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=53961&edit=1
ID: 53961
Updated by: cataphract@php.net
Reported by: bender at digitalbase dot de
Summary: soap over https with custom port does work
Status: Feedback
Type: Bug
Package: OpenSSL related
Operating System: WinXP 32bit
PHP Version: 5.3.5
Block user comment: N
Private report: N
New Comment:
Try also swapping ext\php_openssl.dll and ext\php_soap.dll
Previous Comments:
------------------------------------------------------------------------
[2011-02-09 14:23:01] cataphract@php.net
If you replace the OpenSSL libs (I think they're named ssleay and
libeay.dll) in the PHP 5.3.5 folder with those bundled with PHP 5.3.0,
do you still get the error?
------------------------------------------------------------------------
[2011-02-09 13:36:32] bender at digitalbase dot de
r308155 from svn has the same error
C:\Dokumente und Einstellungen\frostm\Eigene Dateien\Downloads>cd
php-5.3-ts-
windows-vc9-x86-r308155
C:\Dokumente und Einstellungen\frostm\Eigene
Dateien\Downloads\php-5.3-ts-
windows-vc9-x86-r308155>php -d extension_dir=ext -d
extension=php_soap.dll -d
extension=php_openssl.dll -r "$client = new
SoapClient('https://test.intranet:21081/service/cm/business/Contract/CapacityCon
tract/1.3?wsdl'); var_dump($client);"
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing
WSDL:
Couldn't load from
'https://test.intranet:21081/service/cm/business/Contract/CapacityContract/1.3?
wsdl' : Start tag expected, '<' not found in Command line code:1
Stack trace:
#0 Command line code(1): SoapClient->SoapClient('https://ecganwt...')
#1 {main}
thrown in Command line code on line 1
------------------------------------------------------------------------
[2011-02-09 13:27:54] bender at digitalbase dot de
5.3.0 works
5.3.5 not
------------------------------------------------------------------------
[2011-02-09 13:26:44] bender at digitalbase dot de
C:\Dokumente und Einstellungen\frostm\Eigene Dateien\Downloads>cd
php-5.3.5-
Win32-VC9-x86
C:\Dokumente und Einstellungen\frostm\Eigene
Dateien\Downloads\php-5.3.5-Win32-
VC9-x86>php -d extension_dir=ext -d extension=php_soap.dll -d
extension=php_openssl.dll -r "$client = new
SoapClient('https://test.intranet:21081/service/cm/business/Contract/CapacityCon
tract/1.3?wsdl'); var_dump($client);"
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing
WSDL:
Couldn't load from
'https://test.intranet:21081/service/cm/business/Contract/CapacityContract/1.3?
wsdl' : Start tag expected, '<' not found
in Command line code:1
Stack trace:
#0 Command line code(1): SoapClient->SoapClient('https://ecganwt...')
#1 {main}
thrown in Command line code on line 1
C:\Dokumente und Einstellungen\frostm\Eigene
Dateien\Downloads\php-5.3.5-Win32-
VC9-x86>cd ..
C:\Dokumente und Einstellungen\frostm\Eigene Dateien\Downloads>cd
php-5.3.0-
Win32-VC9-x86
C:\Dokumente und Einstellungen\frostm\Eigene
Dateien\Downloads\php-5.3.0-Win32-
VC9-x86>php -d extension_dir=ext -d extension=php_soap.dll -d
extension=php_openssl.dll -r "$client = new
SoapClient('https://test.intranet:21081/service/cm/business/Contract/CapacityCon
tract/1.3?wsdl'); var_dump($client);"
object(SoapClient)#1 (2) {
["_soap_version"]=>
int(1)
["sdl"]=>
resource(9) of type (Unknown)
}
------------------------------------------------------------------------
[2011-02-09 13:17:01] cataphract@php.net
I can't reproduce:
D:\Users\Cataphract\Desktop\php-5.3.5-Win32-VC9-x86>php -d
extension_dir=ext -d
extension=php_soap.dll -d extension=php_openssl.dll -r "$client = new
SoapClient
('https://192.168.4.5:21083/test_13.xml');
var_dump($client);"
object(SoapClient)#1 (2) {
["_soap_version"]=>
int(1)
["sdl"]=>
resource(6) of type (Unknown)
}
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/bug.php?id=53961
--
Edit this bug report at http://bugs.php.net/bug.php?id=53961&edit=1