You need to sign in to do that
Don't have an account?
servlet logic with Apex
I want to implement for the below flow.
I do post http request to the another end point url.
that end point system will do http posting to the return url that I have specified for more information.
In that case, How can I set up or make a Apex class which can process the http post from other system?
So that I can capture the information from the http post and proceess the necessary things.
In java, we can create servlet and get the information back to our system.
As I am new to Apex, how can I make the url that can be exposed to other system and allow to capture information from post request by other system?
IMPORTANT NOTE: No authentication should be needed. As I just want to get the result of other system.
I am starting with RestResource. I think I am on right track while waiting for answers.
Thanks ahead.
Have a look here. http://wiki.developerforce.com/page/Creating_REST_APIs_using_Apex_REST
Since you want public webservice you need to host the webservice via a site. Refer this http://forceguru.blogspot.se/2012/09/creating-public-web-service-in.html this blog for the same