How can I force CXF to serialize all auto generated client classes? Any parameters I need to pass when runing the client generator?
How can I force CXF to serialize all auto generated client classes? Any parameters
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.