Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Web Service using SSL

Explorer ,
Nov 11, 2008 Nov 11, 2008
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!!
TOPICS
Advanced techniques
575
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 11, 2008 Nov 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!!!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 14, 2008 Nov 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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 14, 2008 Nov 14, 2008
LATEST
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!!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources