6

I just need to know if WCF is platform independent like Webservices? Can the functions in WCF be accessed by Java and Php?

Thanks

Josh
  • 13,530
  • 29
  • 114
  • 159

4 Answers4

14

Yes sure - WCF itself will run on Windows only - but the services it provides can be accessed from any other language / tool.

And using WCF as a client, you can also access any other tool's services, e.g. you can access a webservice written in PHP, Java, etc.

That's the whole point of SOA! :-)

Marc

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
3

Yes, WCF is a superset of web services. It can do both platform independent as well as platform dependant communication. You just need to choose one of the wsXXX bindings.

See here for a list of the bindings that WCF supports: http://msdn.microsoft.com/en-us/library/ms730879.aspx

Jonathan Parker
  • 6,705
  • 3
  • 43
  • 54
2

yes if you use standard-compliant binding (any that has WS in the name like WsHttpBinding)

Krzysztof Kozmic
  • 27,267
  • 12
  • 73
  • 115
2

WCF is Web Services - plus a lot more. It replaces the older ASMX service feature.

John Saunders
  • 160,644
  • 26
  • 247
  • 397