Transforming SOAP WS output to an .xsd complaint XML in Java -
i have soap
based web service returns xml
response. need convert xml
xml
should compatible provided xsd
file.
is there opensource java framework can me in achieving xml
transformation per xsd
file? appreciate or pointers on this.
thanks in advance!
i have recommendation, if more comfortable java xsd/xml:
assume first soap response xml compliant first.xsd , second 1 second.xsd. generate java types each using xjc, comes jdk1.6.
now exercise convert instance of 1 type other , serizalize.
basically, first.xml -> first java type -> second java type -> second.xml
if absolutely needed, can use dozer framework convert across java bean types
Comments
Post a Comment