Как генерировать Java-классы из WSDL с несколькими XSD?

Я новичок в мыльной службе. Я должен изменить WSDL на классы Java. Я попытался поместить его в папку ресурсов и изменить его. Но я не могу этого сделать. Когда я устанавливаю цели в pom.xml. Это дает ошибки в методе выполнения.

Execution generate-sources of goal org.apache.cxf:cxf-codegen-plugin:3.2.4:wsdl2java failed: file:/C:/Workspace/demo/src/main/resources/wsdl/Bene.wsdl [556,5]: 'maintainBene' is already defined
file:/C:/Workspace/demo/src/main/resources/wsdl/Bene.wsdl [20,5]: (related to above error) the first definition appears here
file:/C:/Workspace/demo/src/main/resources/wsdl/Bene.wsdl [733,5]: 'maintainBeneResponse' is already defined
file:/C:/Workspace/demo/src/main/resources/wsdl/Bene.wsdl [197,5]: (related to above error) the first definition appears here
file:/C:/Workspace/demo/src/main/resources/wsdl/Bene.wsdl [940,5]: 'Common' is already defined

0 ответов

Другие вопросы по тегам