How To Extract the CDATA From a XMLViewService Request Using PowerShell?

(Doc ID 2342670.1)

Last updated on JANUARY 11, 2018

Applies to:

Business Intelligence Suite Enterprise Edition - Version 11.1.1.9.160719 and later
Information in this document applies to any platform.

Goal

You are trying to get the results of an analysis using the XMLViewService:

Invoke-WebRequest "http://<server>:<port>/analytics-ws/saw.dll?SoapImpl=xmlViewService" -Method Post -ContentType "text/xml" -InFile "request.xml" -OutFile "response.xml"

The resulting file has a payload which is embedded in a CDATA section, how can this be extracted?
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms