小编cle*_* M.的帖子

CXF - Wsdl2java - 已定义XX属性

我使用CXF生成客户端类来访问Web服务服务器.Web服务基于WCF(.NET).

当我调用wsdl2java时,我有以下错误:

The id property is already defined. use <jaxb:property> to resolve this conflict. The following location matches the above error : http://*****/WcfDemandService.svc?xsd=xsd2 [0,0]
Run Code Online (Sandbox Code Playgroud)

如果我询问xmlbeans数据绑定(使用"db xmlbeans"选项),则不会出现此错误.

有没有办法用JAXB数据绑定生成类?

cxf properties wsdl2java jaxb defined

4
推荐指数
1
解决办法
7289
查看次数

标签 统计

cxf ×1

defined ×1

jaxb ×1

properties ×1

wsdl2java ×1