Bug #53961 [Opn-Fbk]: soap over https with custom port does work

2011-02-13 Thread cataphract
Edit report at http://bugs.php.net/bug.php?id=53961edit=1

 ID: 53961
 Updated by: cataphr...@php.net
 Reported by:bender at digitalbase dot de
 Summary:soap over https with custom port does work
-Status: Open
+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:

Can you test whether disabling SNI solves the issue? Set the context
option ssl/SNI_enabled to false. See
http://php.net/manual/en/context.ssl.php



I'm shooting in the dark, but this seems one of the few meaningful
changes between PHP 5.3.0 and PHP 5.3.3.


Previous Comments:

[2011-02-09 14:31:12] bender at digitalbase dot de

PHP 5.3.5 with php_openssl.dll from PHP 5.3.0 works

(i replace only the php_openssl.dll in the ext dir from 5.3.5)


[2011-02-09 14:24:38] cataphr...@php.net

Try also swapping ext\php_openssl.dll and ext\php_soap.dll


[2011-02-09 14:23:01] cataphr...@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\Downloadscd
php-5.3-ts-

windows-vc9-x86-r308155

C:\Dokumente und Einstellungen\frostm\Eigene
Dateien\Downloads\php-5.3-ts-

windows-vc9-x86-r308155php -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




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=53961edit=1


Bug #53961 [Opn-Fbk]: soap over https with custom port does work

2011-02-09 Thread cataphract
Edit report at http://bugs.php.net/bug.php?id=53961edit=1

 ID: 53961
 Updated by: cataphr...@php.net
 Reported by:bender at digitalbase dot de
 Summary:soap over https with custom port does work
-Status: Open
+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:

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?


Previous Comments:

[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\Downloadscd
php-5.3-ts-

windows-vc9-x86-r308155

C:\Dokumente und Einstellungen\frostm\Eigene
Dateien\Downloads\php-5.3-ts-

windows-vc9-x86-r308155php -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\Downloadscd
php-5.3.5-

Win32-VC9-x86

C:\Dokumente und Einstellungen\frostm\Eigene
Dateien\Downloads\php-5.3.5-Win32-

VC9-x86php -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-x86cd ..

C:\Dokumente und Einstellungen\frostm\Eigene Dateien\Downloadscd
php-5.3.0-

Win32-VC9-x86









C:\Dokumente und Einstellungen\frostm\Eigene
Dateien\Downloads\php-5.3.0-Win32-

VC9-x86php -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] cataphr...@php.net

I can't reproduce:



D:\Users\Cataphract\Desktop\php-5.3.5-Win32-VC9-x86php -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)

}


[2011-02-09 13:01:08] paj...@php.net

and snaps per revision are available at http://rmtools.php.net/snaps/




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=53961edit=1


Bug #53961 [Opn-Fbk]: soap over https with custom port does work

2011-02-08 Thread cataphract
Edit report at http://bugs.php.net/bug.php?id=53961edit=1

 ID: 53961
 Updated by: cataphr...@php.net
 Reported by:bender at digitalbase dot de
 Summary:soap over https with custom port does work
-Status: Open
+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:

I have no problems with 0.9.8o-1ubuntu4.3



I can test on Windows, but to be clear: which version does not work? Is
it available through windows.php.net? Which package is it?


Previous Comments:

[2011-02-08 17:28:55] bender at digitalbase dot de

Description:

SoapClient does work with https over custom port.



If one version is the OpenSSl.dll (OpenSSL 0.9.8l) from an earlier PHP
take it to work. With the current, it does not work.











Test script:
---
// does work

$client = new SoapClient(https://localhost:21081/test_13?wsdl;);







// works

$client = new SoapClient(https://localhost/test_13?wsdl;);





Actual result:
--
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing
WSDL: Couldn't load from 'https://localhost:21081/test_13?wsdl' : Start
tag expected, '' not found in C:\htdocs\wwwroot\test.php:4 Stack trace:
#0 C:\htdocs\wwwroot\test.php(4):
SoapClient-SoapClient('https://local...') #1 {main} thrown in
C:\htdocs\wwwroot\test.php on line 4






-- 
Edit this bug report at http://bugs.php.net/bug.php?id=53961edit=1