OAM11gR2PS2 MDC Replication Agreement Creation Using Curl Throws Error - HTTP/1.1 204 No Content

(Doc ID 2123344.1)

Last updated on JULY 25, 2016

Applies to:

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


 OAM11gR2PS2 MDC Replication agreement creation using curl throws Error - HTTP/1.1 204 No Content

bash-3.2$ ./curl -v -u weblogic -H 'Content-Type: application/json' -X POST 'http://vm0.sg.oracle.com:7001/oam/services/rest/_replication/setup' -d '{"name":"DC1toDC2", "source":"FINALDC1","target":"FINALDC2","documentType":"ENTITY"}'
Enter host password for user 'weblogic':
* About to connect() to vm08.domain.com port 7001 (#0)
* Trying 10.x.y.z... connected
* Connected to vm08.domain.com port 7001 (#0)
* Server auth using Basic with user 'weblogic'
> POST /oam/services/rest/_replication/setup HTTP/1.1
> Authorization: Basic d2VibG9naWM6dG95b3RhMTIz
> User-Agent: curl/7.21.7 (sparc-sun-solaris2.10) libcurl/7.16.2 OpenSSL/1.0.0j zlib/1.2.5
> Host: vm08.domain.com:7001
> Accept: */*
> Content-Type: application/json
> Content-Length: 83
< HTTP/1.1 204 No Content
< Date: Mon, 21 Mar 2016 05:04:12 GMT
< Content-Length: 0
< Content-Type: application/json
< X-ORACLE-DMS-ECID: bc82211bcbd3961a:-624ab7ec:1539770cf0f:-8000-0000000000000048
< X-Powered-By: Servlet/2.5 JSP/2.1



 Setting up MDC


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