Axis Marshaller [英] Axis Marshaller
问题描述
我有一组使用wsdl2java(Axis 1.4)创建的类,我正在寻找一种从/向String和Object解组和封送数据的方法。我编写了一个JAXB unmarshaller,它适用于我们的一些较新的内部对象,因为我们使用xjc来创建类但没有时间转换旧的轴类,需要为代码找到一个marshal / unmarshal解决方案。 。
I have a group of classes that were created using wsdl2java (Axis 1.4) and am looking for a way to unmarshal and marshal the data from/to String and Object. I have written a JAXB unmarshaller that works well for some of our newer internal objects since we used xjc to create the classes but do not have time to convert the old axis classes and need to find a marshal/unmarshal solution for the code as-is.
请有人指点我的方向。
谢谢!
推荐答案
我确实找到了自己问题的答案,所以认为值得发帖。
I did find an answer to my own question so thought was worth posting.
找到一个体面的链接概述了Axis的流程: http://bwithers.wordpress.com/2006/07/29/serializing-an-axis-javabean-object-to-xml/
Found a decent link that outlines the process with Axis: http://bwithers.wordpress.com/2006/07/29/serializing-an-axis-javabean-object-to-xml/
I仍然更喜欢JAXB而不是Axis,但这样做。
I still prefer JAXB over Axis but this will do.
这篇关于Axis Marshaller的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!