Authentication Is Failing On SOAP Web Service
(Doc ID 2876496.1)
Last updated on JUNE 14, 2022
Applies to:
Oracle Retail Merchandising Foundation Cloud Service - Version NA and laterInformation in this document applies to any platform.
Goal
Authentication is failing on SOAP Web Service
When trying to invoke BIP Service ScheduleReportWSSService using username password token authentication policy we get the below error:
Error: SOAP must understand error. MustUnderstand headers:["{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security"] are not understood.
It seems that some security policy is missing as this API is supposed to accept such authentication type.
Steps To Recreate:
1. Import the service WSDL into a SOAP Client <URL>/xmlpserver/services/ScheduleReportWSSService?wsdl
2. Use the below payload in the scheduleReport service
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:sch="http://xmlns.oracle.com/oxp/service/ScheduleReportService">
<soap:Header/>
<soap:Body>
<sch:scheduleReport>
<scheduleRequest>
<deliveryChannels>
<ftpOptions>
<item>
<ftpServerName>SFTP_Retail</ftpServerName>
<remoteFile>/****.admin/BI/data/WS_Report_SMK.csv</remoteFile>
<sftpOption>true</sftpOption>
</item>
</ftpOptions>
</deliveryChannels>
<reportRequest>
<attributeFormat>text</attributeFormat>
<reportAbsolutePath>/**** Custom/Interfaces/INT0119/****_INT0119_Merch_Hier_Reclass_CSV_Report.xdo</reportAbsolutePath>
<sizeOfDataChunkDownload>-1</sizeOfDataChunkDownload>
</reportRequest>
<saveDataOption>true</saveDataOption>
<saveOutputOption>true</saveOutputOption>
<useUTF8Option>true</useUTF8Option>
</scheduleRequest>
</sch:scheduleReport>
</soap:Body>
</soap:Envelope>
3. Submit the request and observe the response:
Error: SOAP must understand error. MustUnderstand headers:["{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security"] are not understood.
Solution
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
Goal |
Solution |
References |