Question

Has anyone found a way for a WCF Service to be queried by a Java Client? What .NET library did you use and what Java library did you use. Please be specific with specific platforms and library versions. Also, I've found that if the libraries don't use compatible SOAP version specifications that the libraries aren't compatible either. If you know which SOAP version specification, please provide that as well. -Thanks

Was it helpful?

Solution

You need to use the Java Metro Library version 2.1, http://metro.java.net/2.1/. Follow the instructions at http://webservices20.blogspot.co.il/2011/06/test-drive-shiny-new-wcf-interop.html.

OTHER TIPS

What problems you for-see if you go ahead with calling your WCF service with Java Client?

The whole point to use standard SOAP based webservices is to have benefits of Interoperability.

WCF (by Microsoft) is standard technology and I understand it implements and follows the standards of WS-I consortium by using the standard SOAP and WSDL specs to support interoperability.

And same is applicable for JAVA and is defined in its JAX-WS specs. Standard tools like axis/cxf/xjc etc is there to help you at java side to use WSDL to generate proxies and call a SOAP based service (developed in any language as long as it follows the SOAP bindings, WSDL specifications etc.)

I have had success with WCF svc and BasicHttpBinding. BasicHttpBinding should give you the most interop success and uses SOAP 1.1. We have used .NET 3 and up with Java, PHP and uniface clients.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top