轴编组器
我有一组使用 wsdl2java (Axis 1.4) 创建的类,并且正在寻找一种方法来解组和编组来自/到字符串和对象的数据。我编写了一个 JAXB 解组器,它非常适合我们的一些较新的内部对象,因为我们使用 xjc 创建类,但没有时间转换旧的轴类,并且需要按原样为代码找到编组/解组解决方案。
有人可以给我指出一个方向吗?
谢谢!
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.
Can somebody please point me in a direction.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我确实找到了自己问题的答案,因此值得发布。
找到了一个不错的链接,概述了 Axis 的流程: http://bwithers.wordpress.com/2006/07/29/serializing-an-axis-javabean-object-to-xml/
我仍然更喜欢 JAXB轴但这就可以了。
I did find an answer to my own question so thought was worth posting.
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 still prefer JAXB over Axis but this will do.