0 Replies Latest reply: May 30, 2013 1:20 AM by 956332 RSS

    How to consume a webservice deployed on the Oracle Cloud

    956332
      Hi,

      Created an adf app with webservices and deployed it onto cloud.
      Trying to consume the exposed webservices from a client application.
      Following is the exception when i try to make a call to client.
      Exception in thread "main" javax.xml.ws.WebServiceException: javax.net.ssl.SSLKeyException: [Security:090504]Certificate chain received from www-proxy.us.oracle.com - 148.87.19.20 --> java-trialannv.java.us1.oraclecloudapps.com failed hostname verification check. Certificate contained *.java.us1.oraclecloudapps.com but check expected java-trialannv.java.us1.oraclecloudapps.com
      at com.sun.xml.ws.transport.http.client.HttpClientTransport.readResponseCodeAndMessage(HttpClientTransport.java:218)
      at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:204)
      at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:124)
      at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:121)
      at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:866)
      at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:815)
      at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:778)
      at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:680)
      at com.sun.xml.ws.client.Stub.process(Stub.java:272)
      at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:153)
      at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:115)
      at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)
      at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:136)
      Is there any i can get through the SSL.
      any workaround to get through this.

      Thanks in advance,
      Manohar