我使用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数据绑定生成类?