My Oracle Support Banner

SOAP Exception "Bad response: 401 Unauthorized" From ODI 12c to SOAP Endpoint (Doc ID 2458937.1)

Last updated on DECEMBER 14, 2020

Applies to:

Oracle Data Integrator Cloud Service - Version 17.1.3 and later
Oracle Data Integrator - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms

NOTE: In the examples contained in this note, values used represent a fictitious sample for clarity.  <> values used represent a fictitious sample for clarity and should be replaced by your actual values for use in your environment.  Any similarity to actual environments, past or present, or users, living or dead, is purely coincidental and not intended in any manner.

When attempting to invoke a remote SOAP Web Service from an Oracle Data Integrator (ODI) 12c Agent to the Oracle Sales Cloud, a SOAPException occurs:

javax.xml.ws.WebServiceException: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 401 Unauthorized

The command to invoke the Web Service:

OdiInvokeWebService "-LSCHEMA=<LOGICAL_SCHMEA>" "-OPERATION=submitRequest" "-REQUEST_FILE=reqSubmit.xml" "-RESPONSE_MODE=NEW_FILE" "-RESPONSE_FILE_CHARSET=ASCII" "-RESPONSE_FILE=respSubmit.xml" "-RESPONSE_FILE_FORMAT=XML" "-TIMEOUT=50000"

There are other web services to other endpoints that work fine. Requests to this web service work fine through the SoapUI tool.

 

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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.