Hi,
Anyone help me in java code
how to create a webi document using restful webservice?
My Code:
HttpPost httpRequest_create_doc = new HttpPost( "http://localhost:6405/biprws/raylight/v1/documents");
httpRequest_create_doc.setHeader("Accept","application/xml");
httpRequest_create_doc.setHeader("Content-Type","application/xml");
httpRequest_create_doc.setHeader("X-SAP-LogonToken", sLogonToken);
I am getting this response
HTTP/1.1 400 Bad Request [Server: Apache-Coyote/1.1, Date: Thu, 25 Sep 2014 12:12:19 GMT, Content-Type: application/xml, Content-Length: 135, Connection: close]
Regards,
kavitha S