Hallo Everyone, I am trying to build a FedoraClient with the help of the jar file. But still got error by calling Uploader or UploadFile of Fedora Client. For using the addDatastream i must at first upload the file to fedora server and use the returned tempURI to build the add new datastream. The Problem is ,i still got the error by sending the file to server.? i have tried to use FedoraClient and call the uploadfile methode, or use the Uploader and call upload methode with File and Inputstream both. But still got the same error. Bad Request: No data sent. java.io.IOException: Upload failed: Bad Request: No data sent. ?at fedora.client.FedoraClient.uploadFile(FedoraClient.java:195) ?at fedora.client.Uploader.upload(Uploader.java:114) ?at fedora.client.Uploader.upload(Uploader.java:97) ?at FoXML.ClientTest.uploader(ClientTest.java:269)
I checked the?FedoraClient.java:195 line. There is FedoraClient.java:195 --> // chunked encoding is not required by the Fedora server,
Please help me !!!!!! it is very very important to me.