2

How can I force CXF to serialize all auto generated client classes? Any parameters I need to pass when runing the client generator?

bluish
  • 23,093
  • 23
  • 110
  • 171
Viren Pushpanayagam
  • 2,321
  • 6
  • 34
  • 39

1 Answers1

6

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.

Community
  • 1
  • 1
ahus1
  • 5,249
  • 22
  • 39