开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜