简体   繁体   中英

How to Integrate Restful Spring Mvc 4 annotation based configuration with Soap?

I have configured Spring Mvc 4 with Restful services(annotation based) in my E commerce Web Application. Now I need to also use SOAP in order to integrate with a bank API . My Spring MVC 4 configuration is completely annotation based and is using JSon .

  1. How do I configure Soap to run in Spring Mvc 4 Application?
  2. Which method is good in Soap for development Contract First or Contract last?
  3. Is there any way I can avoid using XML and use only Java classes in soap for Request and response and keep all Soap configuration only in Java?
  4. If the above method possible will that method be appropriate for development?
  5. How do I add Soap Configuration to My Existing Spring Mvc 4 Restful Web Application?

我遵循以下链接https://spring.io/guides/gs/consumption-web-service/来使用Web服务,并将其与我的spring mvc 4应用程序集成在一起,并且可以正常工作。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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