+ Start a Discussion
Shiva RajendranShiva Rajendran 

Need to consume web service written and run in java through salesforce apex method

I have a web service in java running in my local machine. I need to know , if this can be called from salesforce apex code?
Best Answer chosen by Shiva Rajendran
James LoghryJames Loghry
If it's exposed externally, then Salesforce should be able to interact with it.  Salesforce has the ability to call either RESTful or SOAP services (or really any HTTP service).  For more on how to integrate with Salesforce, check out the following Trailhead module: https://trailhead.salesforce.com/module/apex_integration_services

All Answers

James LoghryJames Loghry
If it's exposed externally, then Salesforce should be able to interact with it.  Salesforce has the ability to call either RESTful or SOAP services (or really any HTTP service).  For more on how to integrate with Salesforce, check out the following Trailhead module: https://trailhead.salesforce.com/module/apex_integration_services
This was selected as the best answer
Shiva RajendranShiva Rajendran
Thanks for the reply @James