开发者

What is the easiest and most simple way of creating webservice (SOAP) using Spring?

i am not familiar with the most optimal and easy way on how to develop webservices using Spring. We are going to use Tomcat as our application container, so i was wondering what the most easy way would be to develop webservices using Spring running on Tomcat? Should i use CXF/Axis or something else? We are planning to use the code-first approach.

Currently we already have some nice Spring beans as services and it would be great if we could expose t开发者_运维百科hem as SOAP endpoints.


If you use code first, I would suggest Apache CXF with the jax-ws front end or the simple front end

The JAX-WS version is more powerful, but the Simple Frontend decouples your code from the framework (you don't need to annotate your services). Both are simple to create and work reliably.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜