+ Start a Discussion
Ian TaiteIan Taite 

How to Call a .NET 4.5 Web Service / WCF Service From SalesForce


I'm likely the 101st person to ask about this, but I have a need to be able to call a .NET 4.5 Web Service or WCF Service from APEX code, and I'm new to all of the SalesForce / APEX side of things.

I had planned to import the WSDL from one or other of my services, but the WSDL from the WCF service won't import, and posts I read said I'd have to use ASMX web serviecs instead (which I haven't used in like forever). When I tried to import the WSDL from my ASMX web service, SalesForce moaned about multiple bindings.

So is there a definitive tutorial on this, that discusses some of the gotchas and limitations? Can you recommend blog posts that cover this?

Santosh SSantosh S
The following links might be of some help:

1      Steps for consuming an ASP.net web service from Apex  (http://www.fishofprey.com/2011/03/consuming-aspnet-web-service-from.html)

2      Salesforce Integration with .Net - Callouts (http://www.developer.com/net/net/salesforce-integration-with-.net-callouts-.html)