JAX-WS error on WSDL file: “Error resolving component 's:schema'”

前端 未结 5 946
我寻月下人不归
我寻月下人不归 2020-12-28 15:25

The Error

I am using wsimport in a Java project to generate sources for three SOAP web services. The first two work fine: I use the JAX-WS Maven plugin to grab the

5条回答
  •  遥遥无期
    2020-12-28 15:48

    If you don't actually care about this particular bit of the model data you might be able to use a JAXB bindings file to tell JAXB to map the offending bits to properties whose type is a DOM Element rather than actually trying to data bind them into normal JAXB classes. The unofficial JAXB guide has a section on this technique.

提交回复
热议问题