开发者

What annotation/property defines the wsdl:definitions section of a wsdl in Jaxb?

We're using apache cxf 2.2.2 with JaxB and I need to change the wsdl:definitions name of an exported wsdl to something else. Does anyone know how I could change it, possibly via a JAXB annot开发者_Python百科ation?


Assuming you mean the name attribute of the <wsdl:definitions> element, that's set by the serviceName attribute of the @WebService annotation on your main implementation class. If you need any deeper configuration than that, you'll have to tell CXF to serve up your own custom WSDL instead of that which is derived from annotations (I've not experimented with doing that).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜