Invoke Call To Webservice From Integration Fails With Error "Bad response: 401 Unauthorized" But Test On OIC Connection Shows Success
(Doc ID 2748179.1)
Last updated on APRIL 30, 2024
Applies to:
Oracle Integration-OIC - Version 18.2.5 and laterInformation in this document applies to any platform.
Symptoms
On : NA version, Soap Adapter
Calling webservice(for eg.) service from OIC fails with error.
ERROR
-----------------------
oracle.tip.adapter.sa.api.JCABindingException: javax.xml.ws.WebServiceException: Error while dispatching SOAP message to the endpoint https://<URL>/xmlpserver/services/ExternalReportWSSService:javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 401 Unauthorized
===== reqeust ========
Content-Type:application/soap+xml; charset=UTF-8;action=""
Content-Length:2981
Authorization:***hidden***
:Application Error
STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Call fusion service from OIC and note it fails with error
BUSINESS IMPACT
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |