JAXB generating JAXBElement instead of String

后端 未结 4 1212
星月不相逢
星月不相逢 2020-12-13 18:21

I am using Apache CXF cxf-codegen-plugin Maven plugin to generate sources from WSDL file. Problem is that I get JAX

4条回答
  •  遥遥无期
    2020-12-13 19:01

    What I had to do is to wrap jaxb:globalBindings with another jaxb:bindings.

    
        
            
        
    
    

    Now everything is working, there is no JAXBElement generated anymore.

提交回复
热议问题