When Running an ADF Application Invokes a Remote WebService on standalone WLS10.3.2, Got the Error: javax.xml.soap.SOAPException: Bad response: 401 Unauthorized

(Doc ID 1199355.1)

Last updated on FEBRUARY 02, 2016

Applies to:

Oracle JDeveloper - Version 11.1.1.0.2 and later
Information in this document applies to any platform.
***Checked for relevance on 14-NOV-2012***

Symptoms

When running an ADF application invokes a remote webservice on the embedded WebLogic server of JDeveloper 11.1.1.2.0, it works fine. But when the application is deployed on a WebLogic standalone server 10.3.2 got the following error:

When invoking the application by the root context URL got the following error:
Error 403--Forbidden
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.4 403 Forbidden
The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to make public why the request has not been fulfilled, it SHOULD describe the reason for the refusal in the entity. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.


When invoking the page "view1.jspx" directly got the following error:
javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 401 Unauthorized
javax.xml.soap.SOAPException: Bad response: 401 Unauthorized
Bad response: 401 Unauthorized

Cause

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