开发者

WCF & Java Interop using WSHttpBinding,

开发者 https://www.devze.com 2023-01-08 08:16 出处:网络
I开发者_开发问答’m trying to get a simple WCF application work with Java Client. Service exposes few simple operations using WSHttpBinding, which it does perfectly.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号