Problem calling SOAP web service using SSL on Java CAPS 5.1.3 (Doc ID 1322728.1)

Last updated on NOVEMBER 02, 2016

Applies to:

Oracle Java CAPS - Version 5.1.3 and later
Information in this document applies to any platform.
***Checked for relevance on 07-Mar-2013***
***Checked for relevance on 12-Aug-2014***

Symptoms

when attempting to call a web service over HTTPS the following error occurs.

ERROR
-----------------------

java.rmi.RemoteException: HTTP Status-Code -1: null; nested exception is:
HTTP Status-Code -1: null
at tp1.MessageP_PortType_Stub.sendMessage(tp1.MessageP_PortType_Stub:89)
at tp1.MessageP_SendMessage.invoke(tp1.MessageP_SendMessage:268)
at com.stc.wsclient.runtime.impl.WSDLOtdDelegateImpl.invoke(WSDLOtdDelegateImpl.java:81)
at http___post_ch_p_messageservice.SendMessage.invoke(http___post_ch_p_messageservice.SendMessage:118)
at prjOutput.jcdGetP.receive(prjOutput.jcdGetP:180)
at Deployment.svcGetP.jcdGetP_Runtime_Handler.handleRequest(Deployment.svcGetP.jcdGetP_Runtime_Handler:381)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:140)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:135)
at $Proxy9.handleRequest(Unknown Source)
at com.stc.codegen.JMSImpl.runtime.ejb.JMSEndPointListener.sendMessage(JMSEndPointListener.java:329)
at com.stc.codegen.JMSImpl.runtime.ejb.JMSEndPointListener.onContents(JMSEndPointListener.java:109)
at com.stc.codegen.JMSImpl.runtime.ejb.JMSEndPointListener.onMessage(JMSEndPointListener.java:170)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.security.SecurityUtil$2.run(SecurityUtil.java:146)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.enterprise.security.application.EJBSecurityManager.doAsPrivileged(EJBSecurityManager.java:940)
at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:151)
at com.sun.ejb.containers.MessageBeanContainer.deliverMessage(MessageBeanContainer.java:948)
at com.sun.ejb.containers.MessageBeanListenerImpl.deliverMessage(MessageBeanListenerImpl.java:42)
at com.sun.enterprise.connectors.inflow.MessageEndpointInvocationHandler.invoke(MessageEndpointInvocationHandler.java:136)
at $Proxy12.onMessage(Unknown Source)
at com.stc.jmsjca.core.Delivery.deliverToEndpoint(Delivery.java:1309)
at com.stc.jmsjca.core.SerialDelivery.onMessage(SerialDelivery.java:231)
at com.stc.jms.client.SessionImpl.processAsyncDataAvailable(SessionImpl.java:1659)
at com.stc.jms.client.SessionImpl.processAsync(SessionImpl.java:1748)
at com.stc.jms.client.SessionImpl.asyncEnter(SessionImpl.java:1776)
at com.stc.jms.client.SessionImpl.access$500(SessionImpl.java:56)
at com.stc.jms.client.SessionImpl$1.run(SessionImpl.java:1554)
at com.stc.jms.client.SessionImpl$2.run(SessionImpl.java:1807)
at java.lang.Thread.run(Thread.java:595)
Caused by: HTTP Status-Code -1: null
at com.sun.xml.rpc.client.http.HttpClientTransport.checkResponseCode(HttpClientTransport.java:241)
at com.sun.xml.rpc.client.http.HttpClientTransport.connectForResponse(HttpClientTransport.java:196)
at com.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpClientTransport.java:73)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:69)
at tp1.MessageP_PortType_Stub.sendMessage(tp1.MessageP_PortType_Stub:66)
... 36 more
|#]


Due to this issue, users cannot call a web service

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms