You need to sign in to do that
Don't have an account?
karthik selvam
Apex class to send data to Web Service
Hi,
I have to send data fom apex class to external web service which is running globally. i am new to SalesForce Please can any one guide me with some sample codes.
I have to send data fom apex class to external web service which is running globally. i am new to SalesForce Please can any one guide me with some sample codes.
1) https://developer.salesforce.com/trailhead/module/apex_integration_services?utm_campaign=trailhead&utm_source=sfdc&utm_medium=chatter-success
Apex Integration Overview
https://developer.salesforce.com/trailhead/apex_integration_services/apex_integration_callouts
This module will Describe the differences between web service and HTTP callouts and Authorize an external site with remote site settings
Apex REST Callouts
https://developer.salesforce.com/trailhead/apex_integration_services/apex_integration_rest_callouts
This module will describe about Perform a callout to receive data from an external service and Test callouts by using mock callouts
Apex SOAP Callouts
https://developer.salesforce.com/trailhead/apex_integration_services/apex_integration_soap_callouts
This module will describe you about Generate Apex classes using WSDL2Apex and Perform a callout to send data to an external service using SOAP with Test callouts by using mock callouts
Apex Web Services
https://developer.salesforce.com/trailhead/apex_integration_services/apex_integration_webservices
This module will Describe the two types of Apex web services and provide a high-level overview of these services. Create an Apex REST class that contains methods for each HTTP method and Invoke a custom Apex REST method with an endpoint
Let us know if this will help u
the links whihc you gave was so much helpful, and also i was to able to send data to webservice "https://th-apex-http-callout.herokuapp.com/animals" to the following web service, but while i send data to sample asmx services like w3 schools temp Converter "http://www.w3schools.com/xml/tempconvert.asmx?op=CelsiusToFahrenheit" i wasn't able to achieve it. please can you provide any solutions to achieve it.