My Oracle Support Banner

Callback To ERP Using SOAP Adapter Fails With 401 Error "javax.xml.soap.SOAPException: Bad response: 401" (Doc ID 2530822.1)

Last updated on DECEMBER 30, 2019

Applies to:

Oracle Integration-OIC - Version 18.2.5 and later
Information in this document applies to any platform.

Symptoms

ISSUE:

--------

Callback to ERP using SOAP Adapter fails with 401 unauthorized error
 

ERROR
-----------------------

[2019-02-26T22:36:44.533+00:00] [oicphx2I_server_2] [NOTIFICATION] [] [oracle.osb.logging.pipeline] [tid: <TID>] [userId: <anonymous>] [ecid: <ECID>,1:28233:6] [partition-name: DOMAIN] [tenant-name: GLOBAL] [FlowId: <FLOWID>]  [null, null, null, ERROR] [ICS Tracing Enabled]:
[Code:FCBINTEGRATION2][Version:01.00.0000][Instance:<INSTANCEID>][Location:Error Occurred While Invoking FullfillMentCallBack Application.][Operation:processFulfillmentRequestResponse][ActionID:Ei0][ActionName:FullfillMentCallBack]: [[
 Fault:
<soap-env:Fault
xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><faultcode
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">soap:Server</faultcode><faultstring>ICS runtime execution
error</faultstring><detail><ICSfaultVar/><reason>CASDK-0034:
javax.xml.ws.WebServiceException: Error while dispatching SOAP message to the
endpoint
https://<Instance>.fa.us6.oraclecloud.com:443/soa-infra/services/default/DooTaskTemplateProcessComposite!11.13.19.01.0*soa_fcad28cf-8028-44df-b7ca-f2ee83459a25/FulfillmentRequest#CommonTaskProcessRequest/FulfillmentRequest:javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 401
Unauthorized ===== reqeust ======== Content-Type:text/xml; charset=UTF-8
Content-Length:1768 SOAPAction:"processFulfillmentRequestResponse"
<env:Envelope
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header><tns:MessageID env:mustUnderstand="0"
xmlns:tns="http://www.w3.org/2005/08/addressing">urn:fb1db3fb-3a16-11e9-a88b-3f44262c66b8</tns:MessageID></env:Header><env:Body><ns2:headerTR
xmlns:ns0="http://xmlns.oracle.com/apps/scm/doo/processOrder/flex/fulfillLineDetailContextsB/" xmlns:sdoXML="commonj.sdo/xml"
xmlns:ns2="http://xmlns.oracle.com/apps/scm/doo/taskLayer/model/"
xmlns:ns1="http://xmlns.oracle.com/apps/scm/doo/taskLayer/activity/model/view/" xmlns:sdoJava="commonj.sdo/java"
xmlns:nsmpr6="http://xmlns.oracle.com/apps/scm/doo/processOrder/flex/headerContextsTl/"
xmlns:nsmpr7="http://xmlns.oracle.com/apps/scm/doo/processOrder/flex/fulfillLineContextsB/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:nsmpr2="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
xmlns:nsmpr3="http://xmlns.oracle.com/apps/scm/doo/taskLayer/activity/model/" xmlns:nsmpr4="http://xmlns.o:</reason><operation>processFulfillmentRequestResp
onse</operation><request_payload/></detail></soap-env:Fault>
]]

 

STEPS TO REPRODUCE:

--------------------------

1. Create an integration to send invoke to ERP service as callback and note it fails with reported error. 

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


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