Hi everyone,i am writing a client by using the fedora client jar with SOAP
API.So i tested all the Method from API-M. It works well by calling the Method
like ingest or adddatastream.But i can't still use the uploadFile from
fedoraclient or the Uploader.upload(java.io.File file). And still got the
Exception with "No data send to the server". I can't understand, why this
Method couldn't be used. I am sure all setting for the file or fileinputstream
are fein and right. I must use the file from local and upload it to server at
first. Please help me to fix it!!ThanksFeng
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)
_________________________________________________________________
约会说不清地方?来试试微软地图最新msn互动功能!
http://ditu.live.com/?form=TL&swm=1
------------------------------------------------------------------------------
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users