How can I force CXF to serialize all auto generated client classes?
How can I for开发者_如何学Cce CXF to serialize all auto generated client classes? Any parameters I need to pass when runing the client generator?
What XML Binding are you using? If you are using JAXB, you'll need to have a binding file like this:
How to generate a Java class which implements Serializable interface from xsd using JAXB?
When you use maven to generate your client stubs, you can add the binding file like this:
http://cxf.apache.org/docs/maven-cxf-codegen-plugin-wsdl-to-java.html
Best regards, Alexander.
精彩评论