I'm trying to create a web service client using CXF to consume a WCF web service.
When I use wsdl2java it generates objects with JAXBElement types instead of String.
I read about using a jaxb bindings.xml file to set generateElementProperty="false" to try to fix the problem, but the web service I'm consuming contains 7 imported schemas.
How can I specify the generateElementProperty="false"
on all seven schemas, or is there a way to apply it to all schemas?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…