Hi,

In my project, from java code, i am invoking Marklogic Rest API to insert a
document and read it, both within a transaction

PUT /v1/documents?uri=abc.xml&txid=<hostid>_<txnid>
GET/v1/documents?uri=abc.xml&txid=<hostid>_<txnid>

This was working fine in Marklogic 7. But after upgrading to Marklogic 8 ,
during the insertion I am getting the following error and document is not
getting inserted.

Status 500: XDMP-RWINVAL: $0 <hostid>_<txnid> set-transaction

The credentials used has rest-reader, rest-writer privileges

Please help.

Thanks
Mahitha
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to