Skip to main content
Participant
March 1, 2011
Question

Consume Non-CF SSL Web Service

  • March 1, 2011
  • 1 reply
  • 486 views

Hey running CF 8.0.1.19765 on Win2003, OS v 5.2

So my question is how to consume a web service that's located on an 'HTTPS' protocol while its WSDL is located on a normal 'HTTP' protocol.

Is it really as easy as importing the certificate or will it require something else?  I ask because I'd rather not have to tell the boss do this and it not work in the long run.

Thanks.

    This topic has been closed for replies.

    1 reply

    Community Expert
    March 1, 2011

    There are really two questions here:

    1. What does CF need to make HTTPS requests?

    2. What happens if the WSDL endpoint refers to a different namespace?

    For question 1, yes, all you need to do is import the SSL certificate. This is pretty easy to do, and documented in all sorts of blogs, etc. You'll need to import it to the Java keystore, using keytool.

    For question 2, is the WSDL automatically generated? Usually, automatic WSDL generation doesn't deal with different namespaces, so the web service publisher has to edit the WSDL manually. You can verify that the endpoint points to the right place by reading the WSDL yourself.

    Dave Watts, CTO, Fig Leaf Software

    http://www.figleaf.com/

    http://training.figleaf.com/

    Dave Watts, Eidolon LLC