-1
、私は外部システムを呼び出すためにしようとしていますし、私は次のエラーを受信しています:UN AUTHORIZEエンドポイントがSalesforceで
System.CalloutException: IO Exception: Unauthorized endpoint, please check Setup->Security->Remote site settings. endpoint.
注:私はすでに、リモートサイトの設定で、終了点を指定している。
string ApplicationID='****';
String ApplicationKey = '*****';
string companyId;
string languageId;
//For Getting session id
wwwViadComSecurityV2.BasicHttpBinding_IAuthenticationService s=new
wwwViadComSecurityV2.BasicHttpBinding_IAuthenticationService();
wwwViadComSecurityV2.AppSessionInfo
a=s.StartAppSession(ApplicationID,ApplicationKey,companyId,languageId);
system.debug('>>>>>>>>>>'+a.sessionID);
コードはどこですか?それがなければ、どうすればあなたを助けることができますか? – Script47
編集済みコード –
非常に明確に使用されたタグ:*** Salesforce.comで提供されるPlatform-as-a-Service開発環境 - プラットフォームはForce.comと呼ばれることがあります。専用のSalesforce Stack Exchangeは、Salesforceのすべての質問(http://salesforce.stackexchange.com/***)で利用できます。 – Script47