How to work with certificates and web services

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default How to work with certificates and web services

    Hi,

    Im evaluating Coldfusion MX 7 to start a new "big" project. I've been reading
    about using web services and Coldfusion but I have not seen any documentation
    on how to add security to these web services calls; I'm talking about
    ws-security.

    I mean, I can build a web service that asks the consumer for a x.509
    certificate or some encryption within the call but Is there any way in
    Coldfusion Mx 7 to invoke this web service adding this kind of security :
    selecting a certificate from a cert pool, encrypting some parts of the call,
    creating custom headers, etc?

    Thanks all in advance

    R9N1

    R9N1 Guest

  2. Similar Questions and Discussions

    1. Can PHP work with Flex Data Services 2?
      I know I can do remoting calls in php with AMFPHP. What I want to know is, can I use PHP with Flex 2 Data Services, or do I have to use java? I...
    2. web services only work in player
      i have published my test swf to my server, when i open it in the flash player, i am able to send and recieve data no problem. when i try to use the...
    3. Curiousity- why Web Services dont work with firewall
      Hi, I have Win XP SP2 installed on a machine.. When I have the inbuilt firewall on, I am not able to connect to the web services residing in that...
    4. Client Side Certificates for Web Services?
      Part 1: I have a simple web service. I would like to protect the web application by only allowing callers that have a client-side certificate...
    5. Need help with SSL and Certificates
      Does anybody have a list of CA's that provide Free SSL Certificates for Testing? I've tried Verisign, but it often takes more than the 14day trial...
  3. #2

    Default Re: How to work with certificates and web services

    Yes, I would very much like to get some info on this as well. Thank you!

    Aaron
    aaron_wvr Guest

  4. #3

    Default Re: How to work with certificates and web services

    We use Apache Axis, which does have a plugin for WS-Security.

    See [url]http://ws.apache.org/ws-fx/wss4j/[/url]

    You can find the client deployment file, client-config.wsdd in the WEB-INF
    directory.

    The web service object returned from CreateObject() is the Axis "Stub"
    object, so you can call _setProperty() on it.

    --
    Tom Jordahl
    Macromedia Server Development



    Tom Jordahl Guest

  5. #4

    Default Re: How to work with certificates and web services

    Thanks Tom!

    Can you post some sample code?

    And can you explain how to this plugin works (at least briefly) with CFMX 7 (JRUN installation)?

    tia,

    Aaron
    aaron_wvr Guest

  6. #5

    Default Re: How to work with certificates and web services

    > Can you post some sample code?

    Nope. I have never done it. You may well be the first. :-)
    Sorry.
    > And can you explain how to this plugin works
    > (at least briefly) with CFMX 7 (JRUN installation)?
    Well, you can follow the Axis 1.2 tutorial on the WSS4J web site. You
    configure Axis to use the handler and since CFMX uses Axis, it will use the
    security handler. That handler will intercept the SOAP messages in and out
    and 'do the right thing'. You set properties before to invoke an operation
    and the handler uses them to (for instance) put the username/password token
    in to the request.

    Let us know how it goes!
    --
    Tom Jordahl
    Macromedia Server Development


    Tom Jordahl Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139