我已經在sdfc上安裝了AWS S3工具箱。我有以下代碼,其中AWS_S3_ExampleController是已安裝工具包的一部分。當我執行這個代碼的調試日誌顯示一般的 「內部服務器錯誤」 500使用S3 API從salesforce中添加S3中的文件
返回的SOAP消息有
soapenv:值> NS1:Client.InvalidArgument soapenv:值soapenv:代碼soapenv:Reasonsoapenv: Text xml:lang =「en」無效的id/soapenv:文本/ soapenv:原因soapenv:詳細ArgumentValue> SAmeer Thakur參數值>參數名稱> CanonicalUser/ID/soapenv:詳細信息> soapenv:Fault> soapenv:Body> soapenv:Envelope>
我不知道如何解決無效的ID被人看到
AWS_S3_ExampleController c = new AWS_S3_ExampleController();
c.constructor();
c.fileName=fileName;
c.OwnerId='Sameer Thakur';
c.bucketToUploadObject= bucketName;
c.fileSize=100000;
c.fileBlob= Blob.valueOf(record);
c.accessTypeSelected='public-read-write';
System.debug('Before insert');
c.syncFilesystemDoc();
System.debug('After insert');
任何指針,將不勝感激 謝謝 Sameer
請幫我這個查詢請請請.. http://stackoverflow.com/questions/14722809/how-到設置 - 亞馬遜S3換亞馬遜開發者工具包 – 2013-02-06 06:20:03