1 Reply Latest reply on May 10, 2012 11:04 AM by User696-Oracle

    make https invocation from web service code?

    441812
      I have a JAX-WS web service running in WebLogic 10.3.5. From within that web service code, I need to make a SECOND web service invocation to another web-service application to obtain some necessary information, and that second web service invocation must use HTTPS protocol. Unfortunately, I'm getting a "java.lang.IllegalStateException: Cipher not initialized" exception, which makes me think the SSL handshake is failing.

      Can this be done? If so, how?
        • 1. Re: make https invocation from web service code?
          User696-Oracle
          yes, you should be able to do it
          http://docs.oracle.com/cd/E23943_01/web.1111/e13713/transport.htm#CIHGAEJD
          1.) you can use the system properties to load truststore as specified from above link inside you client web service code
          0r
          2.) you can load using -D options as specified in below link
          http://docs.oracle.com/cd/E23943_01/web.1111/e13713/transport.htm#i238552
          or
          3.) you can use keystore configuration to configure trust store
          http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13952/taskhelp/security/ConfigureKeystoresAndSSL.html#WLACH03024

          Regards,
          Sunil Polineni