Skip to main content
Inspiring
November 11, 2008
Question

Web Service using SSL

  • November 11, 2008
  • 3 replies
  • 596 views
Using Coldfusion 8, I am trying to connect to a .NET web service that is secure with SSL v3.

I have added their cert to my CF keystore but still getting the same error.
I am able to connect to the webservice, but not execute any methods.
I can access the webservice and run the method when not using SSL.

But with SSL I am getting this error:

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


Any help greatly appreciated!!
This topic has been closed for replies.

3 replies

gdemariaAuthor
Inspiring
November 14, 2008
I made some progress, perhaps! When the browse the webservice from our server using IE, I see this error come up...

Revocation Information for the security certificate is not available. Do you want to proceed.

This appears on the server and not my PC because the security settings of the browser on the server are less forgiving. But it leads me to suspect that my timeout error being caused by my webservice not being able to respond to this question with a Yes or No answer.

Do you know a way to tell Coldfusion to ignore certificate errors?

Thanks!!

Inspiring
November 14, 2008
gdemaria wrote:
> Using Coldfusion 8, I am trying to connect to a .NET web service that is secure
> with SSL v3.
>
> I have added their cert to my CF keystore but still getting the same error.
> I am able to connect to the webservice, but not execute any methods.
> I can access the webservice and run the method when not using SSL.

Do you have a link to the web service ? You could try watching the
traffic with WireShark or tcpdump depending on your OS.

--
Mack
gdemariaAuthor
Inspiring
November 11, 2008
Here are the commands I am using:

<cfset ws = CreateObject("webservice","https://www.thewebsite.com/ws2008/service.asmx?wsdl")>

This above is sucessful. I can do a cfdump var="#ws#" and see the methods.

Executing this method results in the error...
<cfset resp = ws.runProcess(xmlstr)>

It does work if changed to http:// (no SSL)

Thanks!!!