gdemaria
asked on
Accessing Webservice using SSL (https://)
I am able to connect to a webservice protected by SSL, but not execute any methods.
Accessing the webservice works completely without SSL. But with SSL, I am getting an error (below)..
This is the code used:
<cfset ws = CreateObject("webservice", "https://www.theirsite.com/sws2008/service.asmx?wsdl")>
<cfdump var="#ws#"> <!---- dump what we get back from web service call, this works! ---->
<cfset resp = ws.theirMethod(xmlstr)> <!---- this returns an error, only with SSL ---->
The fault returned when invoking the web service operation is:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server. userException faultSubcode:
faultString: java.net.ConnectException: Connection timed out: connect
On My side: Coldfusion 8 under IIS on Windows Server 2003
On their side: A webservice using .NET 2008 framework 3.0 secured with SSL v3
I have added their cert to my keystore, makes no difference. This has been tested and fails on two different servers by different developers, same results.
Accessing the webservice works completely without SSL. But with SSL, I am getting an error (below)..
This is the code used:
<cfset ws = CreateObject("webservice",
<cfdump var="#ws#"> <!---- dump what we get back from web service call, this works! ---->
<cfset resp = ws.theirMethod(xmlstr)> <!---- this returns an error, only with SSL ---->
The fault returned when invoking the web service operation is:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server. userException faultSubcode:
faultString: java.net.ConnectException:
On My side: Coldfusion 8 under IIS on Windows Server 2003
On their side: A webservice using .NET 2008 framework 3.0 secured with SSL v3
I have added their cert to my keystore, makes no difference. This has been tested and fails on two different servers by different developers, same results.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.