简体   繁体   English

带有 CXF 的 WSDL2Java 没有注释

[英]WSDL2Java with CXF without annotations

I have an issue with CXF and have been looking in the doc but did not find how to do it, I am probably missing something, I am a beginner.我对 CXF 有疑问,一直在查看文档,但没有找到如何去做,我可能遗漏了一些东西,我是初学者。 I am trying to generate stubs with CXF but can't find how to do it without the annotations.我正在尝试使用 CXF 生成存根,但在没有注释的情况下找不到如何操作。

From what I found on the doc, there is a frontend to use to do that, but when trying to use WSDL2java -fe "Simple", it can't find the frontend.从我在文档中找到的内容来看,有一个前端可以用来执行此操作,但是当尝试使用 WSDL2java -fe "Simple" 时,它找不到前端。 I am sure I am missing a point here.我确定我在这里遗漏了一点。

Thanks谢谢

The "simple" frontend is really just for the "java first" use cases to develop/deploy services based on existing code that may not have the annotations. “简单”前端实际上仅适用于“java优先”用例,用于基于可能没有注释的现有代码开发/部署服务。

For wsdl first, we only really provide support for JAX-WS compatible interfaces, but with various databindings such as JAXB (the default), XMLBeans, SDO, JiBX, etc...首先对于 wsdl,我们只真正提供对 JAX-WS 兼容接口的支持,但是有各种数据绑定,例如 JAXB(默认)、XMLBeans、SDO、JiBX 等...

One of the main reasons is that the simple frontend cannot support all the various constructs in the WSDL like the the JAX-WS frontend can.主要原因之一是简单的前端不能像 JAX-WS 前端那样支持 WSDL 中的所有各种结构。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM