Forum Stats

  • 3,759,867 Users
  • 2,251,608 Discussions
  • 7,870,847 Comments

Discussions

Problem with response-headers tag in SOAP call in OSB 12.2.1.4

User_0A104
User_0A104 Member Posts: 1 Green Ribbon

I am calling ERP webservice from OSB 12.2.1.4 version. For success scenario it works fine, but for failure it's unable to capture the error message. But the same code is working fine in 12.2.1.2. version.

Below is the error message from business service. I have compared the error message in both the versions. Only difference is in higher version getting the <con1:response-headers> tag extra. Looks like this is the problem. Please suggest how to resolve this issue.

<con:fault  xmlns:con="http://www.bea.com/wli/sb/context">

<con:errorCode>OSB-382500</con:errorCode>

<con:reason>OSB Service Callout action received SOAP Fault response</con:reason>

<con:details>

<con1:ReceivedFaultDetail  xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config">

<con1:faultcode  xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Server</con1:faultcode>

<con1:faultstring>JBO-FND:::FND_GENERIC_MULTI_MESSAGE: &lt;MESSAGE>&lt;NUMBER>&lt;/NUMBER>&lt;TEXT>Multiple errors occurred while processing this request. See Details.&lt;/TEXT>&lt;CAUSE>&lt;/CAUSE>&lt;ACTION>&lt;/ACTION>&lt;DETAILS>&lt;/DETAILS>&lt;INCIDENT>&lt;/INCIDENT>&lt;/MESSAGE>JBO-AR:::AR_RAPI_RCPT_NUM_INVALID: &lt;MESSAGE>&lt;NUMBER>AR-855742&lt;/NUMBER>&lt;TEXT>The receipt number is invalid.&lt;/TEXT>&lt;CAUSE>&lt;/CAUSE>&lt;ACTION>&lt;/ACTION>&lt;DETAILS>&lt;/DETAILS>&lt;INCIDENT>&lt;/INCIDENT>&lt;/MESSAGE>JBO-AR:::AR_RAPI_CASH_RCPT_ID_NULL: &lt;MESSAGE>&lt;NUMBER>AR-855621&lt;/NUMBER>&lt;TEXT>The cash receipt ID is null.&lt;/TEXT>&lt;CAUSE>&lt;/CAUSE>&lt;ACTION>&lt;/ACTION>&lt;DETAILS>&lt;/DETAILS>&lt;INCIDENT>&lt;/INCIDENT>&lt;/MESSAGE>JBO-AR:::GENERIC_MESSAGE: &lt;MESSAGE>&lt;NUMBER>AR-855636&lt;/NUMBER>&lt;TEXT>ACTIVITY_APPLICATION : ORA-01403: no data found&lt;/TEXT>&lt;CAUSE>&lt;/CAUSE>&lt;ACTION>&lt;/ACTION>&lt;DETAILS>&lt;/DETAILS>&lt;INCIDENT>&lt;/INCIDENT>&lt;/MESSAGE>JBO-FND:::FND_AS_UNEXPECTED_ERROR: &lt;MESSAGE>&lt;NUMBER>FND-3323&lt;/NUMBER>&lt;TEXT>An unexpected error has occurred.&lt;/TEXT>&lt;CAUSE>&lt;/CAUSE>&lt;ACTION>&lt;/ACTION>&lt;DETAILS>In package AR_RECEIPT_API_PUB and procedure Activity_application the following error occurred: ORA-01403: no data found.&lt;/DETAILS>&lt;INCIDENT>&lt;/INCIDENT>&lt;/MESSAGE></con1:faultstring>

<con1:detail>

<tns:ServiceErrorMessage  xmlns:tns="http://xmlns.oracle.com/adf/svc/errors/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">

<tns:code>FND:::FND_GENERIC_MULTI_MESSAGE</tns:code>

<tns:message>JBO-FND:::FND_GENERIC_MULTI_MESSAGE: &lt;MESSAGE>&lt;NUMBER>&lt;/NUMBER>&lt;TEXT>Multiple errors occurred while processing this request. See Details.&lt;/TEXT>&lt;CAUSE>&lt;/CAUSE>&lt;ACTION>&lt;/ACTION>&lt;DETAILS>&lt;/DETAILS>&lt;INCIDENT>&lt;/INCIDENT>&lt;/MESSAGE></tns:message>

<tns:severity>SEVERITY_ERROR</tns:severity>

<tns:detail  xsi:type="tns:ServiceErrorMessage">

<tns:code>AR:::AR_RAPI_RCPT_NUM_INVALID</tns:code>

<tns:message>JBO-AR:::AR_RAPI_RCPT_NUM_INVALID: &lt;MESSAGE>&lt;NUMBER>AR-855742&lt;/NUMBER>&lt;TEXT>The receipt number is invalid.&lt;/TEXT>&lt;CAUSE>&lt;/CAUSE>&lt;ACTION>&lt;/ACTION>&lt;DETAILS>&lt;/DETAILS>&lt;INCIDENT>&lt;/INCIDENT>&lt;/MESSAGE></tns:message>

<tns:severity>SEVERITY_ERROR</tns:severity>

<tns:exceptionClassName>oracle.apps.fnd.applcore.messages.ApplcoreException</tns:exceptionClassName>

</tns:detail>

<tns:detail  xsi:type="tns:ServiceErrorMessage">

<tns:code>AR:::AR_RAPI_CASH_RCPT_ID_NULL</tns:code>

<tns:message>JBO-AR:::AR_RAPI_CASH_RCPT_ID_NULL: &lt;MESSAGE>&lt;NUMBER>AR-855621&lt;/NUMBER>&lt;TEXT>The cash receipt ID is null.&lt;/TEXT>&lt;CAUSE>&lt;/CAUSE>&lt;ACTION>&lt;/ACTION>&lt;DETAILS>&lt;/DETAILS>&lt;INCIDENT>&lt;/INCIDENT>&lt;/MESSAGE></tns:message>

<tns:severity>SEVERITY_ERROR</tns:severity>

<tns:exceptionClassName>oracle.apps.fnd.applcore.messages.ApplcoreException</tns:exceptionClassName>

</tns:detail>

<tns:detail  xsi:type="tns:ServiceErrorMessage">

<tns:code>AR:::GENERIC_MESSAGE</tns:code>

<tns:message>JBO-AR:::GENERIC_MESSAGE: &lt;MESSAGE>&lt;NUMBER>AR-855636&lt;/NUMBER>&lt;TEXT>ACTIVITY_APPLICATION : ORA-01403: no data found&lt;/TEXT>&lt;CAUSE>&lt;/CAUSE>&lt;ACTION>&lt;/ACTION>&lt;DETAILS>&lt;/DETAILS>&lt;INCIDENT>&lt;/INCIDENT>&lt;/MESSAGE></tns:message>

<tns:severity>SEVERITY_ERROR</tns:severity>

<tns:exceptionClassName>oracle.apps.fnd.applcore.messages.ApplcoreException</tns:exceptionClassName>

</tns:detail>

<tns:detail  xsi:type="tns:ServiceErrorMessage">

<tns:code>FND:::FND_AS_UNEXPECTED_ERROR</tns:code>

<tns:message>JBO-FND:::FND_AS_UNEXPECTED_ERROR: &lt;MESSAGE>&lt;NUMBER>FND-3323&lt;/NUMBER>&lt;TEXT>An unexpected error has occurred.&lt;/TEXT>&lt;CAUSE>&lt;/CAUSE>&lt;ACTION>&lt;/ACTION>&lt;DETAILS>In package AR_RECEIPT_API_PUB and procedure Activity_application the following error occurred: ORA-01403: no data found.&lt;/DETAILS>&lt;INCIDENT>&lt;/INCIDENT>&lt;/MESSAGE></tns:message>

<tns:severity>SEVERITY_ERROR</tns:severity>

<tns:exceptionClassName>oracle.apps.fnd.applcore.messages.ApplcoreException</tns:exceptionClassName>

</tns:detail>

<tns:exceptionClassName>oracle.apps.fnd.applcore.messages.ApplcoreException</tns:exceptionClassName>

</tns:ServiceErrorMessage>

</con1:detail>

<con1:http-response-code>500</con1:http-response-code>

<con1:response-headers  xsi:type="http:HttpResponseHeaders" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<tran:user-header  name="Content-Language" value="en" xmlns:tran="http://www.bea.com/wli/sb/transports"/>

<tran:user-header  name="SOAPAction" value="&quot;&quot;" xmlns:tran="http://www.bea.com/wli/sb/transports"/>

<tran:user-header  name="Strict-Transport-Security" value="max-age=31536000; includeSubDomains" xmlns:tran="http://www.bea.com/wli/sb/transports"/>

<tran:user-header  name="X-Content-Type-Options" value="nosniff" xmlns:tran="http://www.bea.com/wli/sb/transports"/>

<tran:user-header  name="X-ORACLE-DMS-ECID" value="f7d5b354-b32b-4b6d-a15b-bc3964c0f1c0-00000278" xmlns:tran="http://www.bea.com/wli/sb/transports"/>

<tran:user-header  name="X-XSS-Protection" value="1; mode=block" xmlns:tran="http://www.bea.com/wli/sb/transports"/>

<http:Connection>close</http:Connection>

<http:Content-Length>5102</http:Content-Length>

<http:Content-Type>multipart/related;type="application/xop+xml";boundary="----=_Part_4266_2125516570.1628679062393";start="&lt;c55e67e6-ed37-4ae0-8cf9-cda868ccfe1c>";start-info="text/xml"</http:Content-Type>

<http:Date>Wed, 11 Aug 2021 10:51:02 GMT</http:Date>

<http:Server>Oracle-HTTP-Server</http:Server>

<http:Set-Cookie>

&lt;cookie-values xmlns="http://www.bea.com/wli/sb/transports/http">

  &lt;value>_WL_AUTHCOOKIE_JSESSIONID=otxgu6oINj95k60UBCfr; path=/; secure; HttpOnly;SameSite=None;Secure&lt;/value>

  &lt;value>JSESSIONID=yqc01kDJ9Eq3MvzpnQuMp38Hk55LHTEs6bU2RsiOJsXcdp9ablfC!1748825134; path=/; HttpOnly;SameSite=None;Secure&lt;/value>

&lt;/cookie-values>

</http:Set-Cookie>

</con1:response-headers>

</con1:ReceivedFaultDetail>

</con:details>

<con:location>

<con:node>Pipeline Pair Node1</con:node>

<con:pipeline>request-92b3430.72bd1829.0.17b33c2b806.N79ee</con:pipeline>

<con:stage>Apply receipts web service call</con:stage>

<con:path>request-pipeline</con:path>

</con:location>

</con:fault>