Calling SOAP in Jersey

大兔子大兔子 提交于 2019-11-30 19:58:13

问题


I have a requirement from a client which wants to write a wrapper REST web service around a SOAP web service.

I am new to both SOAP and REST. Can anyone please let me know

  1. If we can call SOAP web service inside a REST web service?
  2. If yes, then how to do it in Jersey 2.0?

Thanks in advance.


回答1:


  1. Yes
  2. There is nothing special about calling a SOAP service from inside a JAX-RS Resouce. Just write a JAX-WS client as described in the Java EE 7 Tutorial.


来源:https://stackoverflow.com/questions/17986498/calling-soap-in-jersey

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!