Pattern: converting Java classes from pivot objects

I use an axis to automatically generate web service artifacts, and then I convert them into objects used in our application Is there a sensible model for doing so? We write transformation methods to output objects from objects created by axes. Sometimes we write a set of intermediate transformer classes to convert axis objects into application objects? Is there a common way to approach this?

Solution

If I understand it correctly, you want to use the axis WSDL 2 Java function to generate code from WSDL and then map it to the existing application object model In this case, you may need to consider using axis with jibx bindings

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>