I have several WCF services that I want to access from a Java client. The services have some complex data contracts used across multiple services. I want to be able to generate client code that will allow me to share the objects generated from the data contracts across all the services. Basically I want to be able to retrieve data from one service and pass it to another.
This was pretty easy to accomplish in .NET using SvcUtil.exe, so I'm thinking there has to be a way to do it in Java. I've been using Axis2 for it's ws-security support, but I'm not committed to that tool. Any ideas on how I can accomplish this?