ID: 36657 User updated by: gkrajci at arescorporation dot com Reported By: gkrajci at arescorporation dot com -Status: Feedback +Status: Open Bug Type: SOAP related Operating System: Windows 2003 Server PHP Version: 5.1.2 New Comment:
All URIs in the WSDL point to HTTP Previous Comments: ------------------------------------------------------------------------ [2006-03-10 12:59:10] [EMAIL PROTECTED] The content of Session.wsdl will determine where the service is located. Please look into that file and see if it's using https or http. ------------------------------------------------------------------------ [2006-03-10 12:34:29] gkrajci at arescorporation dot com In the code below, the WSDL is https://[domain]/ws/api/Session.wsdl ------------------------------------------------------------------------ [2006-03-10 12:25:00] [EMAIL PROTECTED] Does Session.wsdl point to https or http web service? ------------------------------------------------------------------------ [2006-03-08 20:16:01] gkrajci at arescorporation dot com Description: ------------ I am trying to establish a PHP SOAP SSL connection from our development server to a Java application. When I perform this SOAP call over HTTP I have no problem, and when I perform this SOAP call over HTTPS I have a problem. I tested the PHP SOAP SSL connection on both PHP Version 5.1.2 and Zend Core for Oracle (PHP Version 5.0.5) with no success on either. I had one of our sys admins monitor the traffic, and PHP always connects over port 80 (HTTP) and not SSL (HTTPS). Reproduce code: --------------- Windows 2003 Server and PHP Version 5.1.2 ESWGCERTIFICATE points to the PEM file C:/OpenSSL/bin/PEM/eswg.pem $context["ssl"]["local_cert"] = ESWGCERTIFICATE; $stream_context = stream_context_create($context); $soap_client_url = "https://[domain]/ws/api/Session.wsdl"; $cz_session = new SoapClient( $soap_client_url, array( "trace" => true, "exceptions" => true, "proxy_host" => PROXYHOST, "proxy_port" => PROXYPORT, "stream_context" => $stream_context, "local_cert" => ESWGCERTIFICATE ) ); Expected result: ---------------- The same information as received when I call the same function over HTTP. Actual result: -------------- SOAP Fault: soapenv:Client faultstring: This site is configured to only accept requests that use the SSL protocol. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36657&edit=1