tyoshikawa1106のブログ

- Force.com Developer Blog -

2016-01-17から1日間の記事一覧

SFDC:ApexとWeb Services

Apexクラスを外部から呼び出す方法についてです。 Apex Web Services Unit | Salesforce Trailhead ApexクラスをREST APIで呼び出せるようにします。 @RestResource(urlMapping='/Cases/*') global with sharing class CaseManager { @HttpGet global static…

SFDC:ApexとSOAP Callouts

Trailheadに紹介されていたApexとSOAP Calloutsについてです。 Apex SOAP Callouts Unit | Salesforce Trailhead まず、下記リンク先からXMLファイルをダウンロードします。 https://th-apex-soap-service.herokuapp.com/assets/calculator.xml Apexクラスペ…

SFDC:ApexとREST Callouts

TrailheadのApex SOAP Calloutsに載っていた内容についてです。 Apex REST Callouts Unit | Salesforce Trailhead 下記HerokuアプリにHTTPRequestを行うとJSON文字列が返ってきます。 https://th-apex-http-callout.herokuapp.com/animals/1 Apexの場合はこ…