WebLogic's default configuration intercepts HTTP AUTH credentials, and so it will not work for the web service API.
You can use API with WebLogic using the following options:
-
Use URL credentials syntax (see previous section), thus bypassing the HTTP AUTH mechanism.
-
Configure WebLogic to allow HTTP AUTH for the API. This is done by adding the following line to config.xml, just before the closing </security-configuration> tag:
<enforce-valid-basic-auth-credentials>false</enforce-valid-basic-auth-credentials>