3 Replies Latest reply on Nov 14, 2008 11:22 AM by gdemaria

    Web Service using SSL

    gdemaria Level 1
      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!!
        • 1. Re: Web Service using SSL
          gdemaria Level 1
          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!!!
          • 2. Re: Web Service using SSL
            Level 7
            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
            • 3. Re: Web Service using SSL
              gdemaria Level 1
              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!!