SOA 12c: Web Service Endpoints in the Browser Redirects to “ws_utc” URL and Shows “404 Not Found”
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.
The new functionality would redirect this to:
The issue is caused by the default behavior for WebLogic domains running in Production Mode.
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.
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.
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.