My Oracle Support Banner

An Error: " http" is thrown when invoking a Webservice (Doc ID 1296614.1)

Last updated on JULY 10, 2020

Applies to:

Oracle Java CAPS Enterprise Service Bus - Version R6 to R6.3 [Release 6.0]
Information in this document applies to any platform.


When attempting to invoke a Web Service an error occurs which is included below. There are two exceptions listed in the sever.log (<JCAPS-ROOT>/appserver/domains/domain-name/logs/server.log) which are typical about this error:

  1. A SEVERE exception " http" reported by: com.sun.xml.rpc.client.http.HttpClientTransport

  2. A SEVERE exception "java.rmi.RemoteException: HTTP transport error: java.lang.NullPointerException; nested exception is:
    HTTP transport error: java.lang.NullPointerException" reported by the Java Collaboration Definition.

 This error occurs after a configuration change or after first implementing the project. http
    at com.sun.xml.rpc.client.http.HttpClientTransport$
    at Method)
    at com.sun.xml.rpc.client.http.HttpClientTransport.writeMessageToConnection(
    at com.sun.xml.rpc.client.http.HttpClientTransport.invoke(
    at com.sun.xml.rpc.client.StreamingSender._send( ...

This error does not report the full host name of the web service in the error, just: http

The issue can be reproduced at will with the following steps:

    1. Using a sample message, invoke the project that in turn invokes the Web service.
    2. When the Web Service is invoked (the Java CAPS project acting as a Web Service Client) an error is produced.
    3. After this error occurs, the transaction fails to complete, or the error is caught depending on the Java code within the Java Collaboration Definition (JCD).

The issue has the following business impact:

    Due to this issue, users cannot use this service for production or testing purposes.


A change in the Web Service Client configuration is typically involved when this issue is experienced.


To view full details, 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 a vibrant support community of peers and Oracle experts.