Know How

SOA 12c: Web Service Endpoints in the Browser Redirects to “ws_utc” URL and Shows “404 Not Found”

Error :1 

A 404 Not Found error with content like:
Error 404–Not Found
From RFC 2068 Hypertext Transfer Protocol — HTTP/1.1:
10.4.5 404 Not Found

The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.

If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.

Error: 2

The new functionality would redirect this to:


Error 1

The issue is caused by the default behavior for WebLogic domains running in Production Mode.

Error 2

The issue is specific to domains which have an OHS Web Tier and occurs because the redirected location contains the leading “/ws_utc” in the URL.


Error 1:

Below steps to enable the Web Service Test Console are:

From the Weblogic Admin Console, click on the domain name in the top left navigation panel.
This should open with the Configuration > General tab active.
Click on the Advanced button and select the Enable Web Service Test Page checkbox and hit Save
Perform a clean cluster restart.

Error 2:

Since the endpoints are redirected to a URL with a leading “ws_utc”, you will need to add the /ws_utc Location directive to your OHS configuration files.

Navigate to [MW_HOME]/web_tier/user_projects/domains/ohs_domain/config/fmwconfig/components/OHS/instances/ohs1

Add the below lines in the mod_wl_ohs.conf file.

<Location /ws_utc>
SetHandler weblogic-handler
WLProxySSLPassThrough ON

Let's make something intelligent together