While Using OAM 11.1.2.3 to Create Policies Via Curl Failed with the Error: INTERNAL_ERR

(Doc ID 2279080.1)

Last updated on JUNE 26, 2017

Applies to:

Oracle Access Manager - Version 11.1.2.3.0 and later
Information in this document applies to any platform.

Symptoms

Trying to create policies in OAM 11.1.2.3 by calling the REST Webservice via CURL command below:

 

Changes

Resource syntax used is as below

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Resources>
<Resource>
<name>Res1</name>
<applicationDomainName>Res1</applicationDomainName>
<hostIdentifierName>Res1</hostIdentifierName>
<protectionLevel>EXCLUDED</protectionLevel>
<resourceURL>/res1</resourceURL>
<resourceTypeName>HTTP</resourceTypeName>
<Operations>
<Operation>POST</Operation>
</Operations>
</Resource>
</Resources>

Cause

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