+ Start a Discussion

webservice help

I have a webservice located on my local for testing http://localhost:2114/WS_ClientOrigination/Service.asmx
how to make salesforce to call a function GetID() in this webservice?
If your web service provides a WSDL, you can try to import it to Apex and Apex will auto-generate the apex classes. More info here: http://www.salesforce.com/us/developer/docs/apexcode/index_Left.htm#StartTopic=Content/apex_web_services_wsdl2apex.htm

Or you can construct the web service message using the HTTP (RESTful) apex classes. More info here: http://www.salesforce.com/us/developer/docs/apexcode/index_Left.htm#StartTopic=Content/apex_classes_restful.htm

thanks alot