我正在爲salesforce開發代碼。我們正在使用來自Appexchange的'Force.com for Amazon Web Services'應用程序。該應用程序由亞馬遜提供。 我正在從機器上的Amazon S3下載文件。 有時我得到下面提到的錯誤。有趣的是,只有有時候我會得到這個錯誤,其餘的時間,甚至是同一個文件。 <Error>
<Code>SignatureDoesNotMatch<
任何人都可以幫助我爲以下班級創建測試方法。此代碼的基本思想是用所有子元素克隆專利,並更改日期。 公共類NovoDia { //added an instance varaible for the standard controller
private ApexPages.StandardController controller {get; set;}
// add the instance
我在Force.com上使用Apex在下面創建了RESTful服務,這是我的代碼。 @RestResource(urlMapping='/helloWorld/*')
global with sharing class RestWebservice {
@HttpGet
global static String helloWorld(){
return 'Hell