Can web service developed in Java can be consumed by WCF web service and vice versa.??
Asked
Active
Viewed 505 times
0
-
Yes they can - just expose them as REST/SOAP webservices: http://stackoverflow.com/questions/186631/rest-soap-endpoints-for-a-wcf-service – omnomnom Aug 31 '11 at 10:47
2 Answers
0
Yes, Web Services are basically request/response calls through a network. The message is XML. This protocol is known as SOAP (Simple Object Access Protocol). So, you're passing XML data across the wire. WCF wouldn't care less which originating language it comes from as it only sees XML.
Alternatively, you can use HTTP request/response using REST.

Buhake Sindi
- 87,898
- 29
- 167
- 228
-
thanks.. The Elite Gentleman... since i am new to it.. can i have some document or url to read it in more depth.. – SST Aug 31 '11 at 10:52
-
0
Yes they can, if you run into trouble and are using SOAP it will most likely be due to versions in the security headers. If so you WCF can be configured to use custom binding (Sure the same applies for java side). Rest is simpler.
Checkout http://www.soapui.org/. It is written in java and can communicate using both Rest and Soap.

James Kyburz
- 13,775
- 1
- 32
- 33