简体   繁体   中英

WCF & Java Interop using WSHttpBinding,

I'm trying to get a simple WCF application work with Java Client. Service exposes few simple operations using WSHttpBinding, which it does perfectly.

Now, due to some reason (probably due to incomplete WS-* specifications at Java side) it seems impossible to generate a Java Client for this WCF service hosted on remote system.

However, everything works fine when used with basicHttpBinding.

If you successfully use or have implemented WCF (wsHttpBinding) where it was interoperable with Java/Non WCF client?

What are you using in Java to generate the client? Not all frameworks are created equal. :) According to this post here , you will need to use WSIT .

We have seen issues related to WCF/Java. Basic binding in WCF creates WSDL ver 1.1 while other bindings use 1.2 if my memory servers me correctly.

We have also seen issues that can occur if you reuse the message contract.

Testing the WCF service from XML Spy is a good way to catch such errors.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM