您的位置:首页 > 其它

WebService学习笔记jaxws:endpoint与jaxws:server区别

2015-09-18 13:41 211 查看
通过spring 配置实现 webservice 的配置有两种,一种是jaxws:endpoint ,另外一种是jaxws:server 。

First, they are all for the server side configuration.

Second, jaxws:endpoint is coming from JAXWS API, and it is used to

configure the org.apache.cxf.jaxws.EndpointImpl which extends

javax.xml.ws.Endpoint.

jaxws:server is for configuring the JaxWsServerFactoryBean, which is

coming from the Xfire API.

For the user who has the Xfire using experience, I think they will

prefer to use jaxws:server tag.

For the JAXWS API fans, jaxws:endpoint will be they first choice.

There are not much difference between the jaxws:endpoint and

jaxws:server, since the EndpointImpl is a wrapper class for the

JaxWsServerFactoryBean.

具体可查看:

http://cxf.547215.n5.nabble.com/jaxws-endpoint-vs-jaxws-server-td561406.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: