Skip to content

Instantly share code, notes, and snippets.

@raj-arun
Last active May 9, 2019 23:26
Show Gist options
  • Save raj-arun/91f4c94f5bdf73f86a10182101781d21 to your computer and use it in GitHub Desktop.
Save raj-arun/91f4c94f5bdf73f86a10182101781d21 to your computer and use it in GitHub Desktop.
Invoke BI Web Service
[Net.ServicePointManager]::SecurityProtocol = "tls12"
$headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]"
$headers.Add('SOAPAction','')
Invoke-WebRequest https://<url to oracle cloud>.oraclecloud.com/xmlpserver/services/v2/ReportService?wsdl `
-Method Post -ContentType "text/xml;charset=utf-8" -Headers $headers `
-InFile request.xml -OutFile output.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment