Hi there, I want to upload a document to a SharePoint library but don't know how to achieve this. Adding entitys without a data blob works fine. When trying to add an entity with a ducument I get the following error:
Bad Request (400) - Can't add entity to this entity set http://ip-ics-dms/websites/icsneu/_vti_bin/listdata.svc/B%C3%BCcher at org.restlet.ext.odata.Service.addEntity(Service.java:230) at MicrosoftSharePointDataServiceService.addEntity(MicrosoftSharePointDataServiceService.java:1033) at TestClient.main(TestClient.java:83) I used the setValue(Item entity, Representation blob) method before calling the addEntity method. Is there anything else i forgot? I would be very grateful for any hint. Best regards, Chris -- View this message in context: http://restlet-discuss.1400322.n2.nabble.com/Upload-File-to-SharePoint-Document-Library-via-Restlet-OData-tp6595297p6595297.html Sent from the Restlet Discuss mailing list archive at Nabble.com. ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2796982

