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 11.1.2.3.0 (Doc ID 1968203.1)

Last updated on OCTOBER 07, 2022

Applies to:

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

Symptoms

In OAG 11.1.2.3.0 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:

 

Cause

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
Symptoms
Cause
Solution
References


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