my task is to transfer data from one database to salesforce environment.i have tried using informatica,dataloader,jitterbit etc,. I need to transfer data simultaniously when there is a update in other database.


-- Apex class methods can be exposed as custom SOAP Web service calls. This allows an external application to invoke an Apex Web service to perform an action in Salesforce. Use the webService keyword to define these methods. For example:

 global class MyWebService {

 webService static Id makeContact(String lastName, Account a) {

  Contact c = new Contact(lastName = 'Weissman', AccountId = a.Id);

 insert c;

  return c.id;

  • A developer of an external application can integrate with an Apex class containing webService methods by generating a WSDL for the class. To generate a WSDL from an Apex class detail page: In the application from Setup, enter “Apex Classes” in the Quick Find box, then select Apex Classes. Click the name of a class that contains webService methods. Click Generate WSDL.
  • Also you can create custom web services in salesforce using Rest api.follow the link if u want to try rest http://blogforce9.blogspot.in/2013/09/salesforce-rest-webservices-part-i.html

What you need is logic on other system side. Salesforce by default provide you with standard access to records and objects. You don't have to build any custom webservice on Salesforce side - it will be enought to send request to Salesfroce with data from other system.

Please chcek: https://resources.docs.salesforce.com/198/latest/en-us/sfdc/pdf/api_rest.pdf

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.