My Oracle Support Banner

"java.lang.RuntimeException: Couldn't retrieve content from 'http://<HOSTNAME>:<PORT>/service/WSPort?wsdl'" Problems Registering A WSDL In The Policy Studio Version That Comes With Oracle API Gateway (Doc ID 1968203.1)

Last updated on OCTOBER 07, 2022

Applies to:

Oracle API Gateway - Version and later
Information in this document applies to any platform.


In OAG Policy Studio, it is not possible to register a Web Service from a WSDL URL when not providing authentication information.

In Policy Studio, use any WSDL which is freely accessible without requiring any authentication.

1.) Open Policy Studio
2.) Navigate to the Register Web Service screen
3.) On the Load WSDL screen, select WSDL URL.
4.) There is a field "Authentication" there.
   By default, "Use HTTP Basic" is *not* checked
   Leave it unchecked.

Loading the WSDL then fails.

The most common error seen is similar to the following, although it can be different depending on what authentication provider is used, particularly when the service is located on Weblogic:



To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.