Calling a WCF service from Java, redux

2019-07-25 10:24发布

问题:

Calling a WCF service from Java

Following on from the above question, does anyone know how to get wsimport to see WCF properties marked with the [MessageHeader] attribute, and hence generate fields for said properties on the generated Java proxy classes?

Unfortunately the requirement has now come up (from another vendor, le sigh) to use [MessageHeader] as well as [MessageBodyMember] and as a result the Java interop is breaking - which is making me a Sad Panda™. And nobody wants that.

标签: wcf soap jax-ws