"java.lang.RuntimeException: Couldn't retrieve content from 'http://host:port/service/WSPort?wsdl'" Problems Registering A WSDL In The Policy Studio Version That Comes With Oracle API Gateway 188.8.131.52.0
Last updated on FEBRUARY 10, 2016
Applies to:Oracle API Gateway - Version 11.1.2 and later
Information in this document applies to any platform.
In OAG 184.108.40.206.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:
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