You need to sign in to do that
Don't have an account?
Knet15
Could I call a local service from Sales Force? Is this possible?
Hello,
I was trying to call a service .NET from sales that return a string text, I added the remote
Then I prepared an Apex class
Then I receive a message the following message:
I tried using my local machine ip, but is change the error to error http 403, and receive the following message:
Could anybody help me?
Thanks a lot.
I was trying to call a service .NET from sales that return a string text, I added the remote
Then I prepared an Apex class
global class MyButton{ WebService static string returnstr() { string url = 'http://localhost/ServicePractice/ServicePractice.svc'; Http h = new Http(); HttpRequest req = new HttpRequest(); req.setEndpoint(url); req.setMethod('GET'); HttpResponse res = h.send(req); return res.getToString(); } }
Then I receive a message the following message:
I tried using my local machine ip, but is change the error to error http 403, and receive the following message:
Could anybody help me?
Thanks a lot.
http://www.developer.com/net/net/salesforce-integration-with-.net-callouts-.html