Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

ExternalReportWSSService -> runReport failing with error 415 Unsupported Media Type

edited May 5, 2020 7:50AM in Reporting and Analytics for ERP 1 comment

Content

I am trying to run a simple report from pl/sql using ExternalReportWSSService -> runReport and it is failing with error 415 Unsupported Media Type. The same payload works from SOAPUI. Below is the payload. Any help is appreciated.

I have set the headers as below -

apex_web_service.g_request_headers.delete();
        apex_web_service.g_request_headers(1).name := 'Content-Type';
        apex_web_service.g_request_headers(1).value := 'application/soap+xml;charset=UTF-8';
        apex_web_service.g_request_headers(2).name := 'Content-Language';
        apex_web_service.g_request_headers(2).value := 'en';
 

Rest of details are in the attached document.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!