简体   繁体   中英

Contract-first web services?

I'm interested in learning more about contract-first web services, including how to put them together.

  1. Can anyone recommend useful resources that explain the needed aspects/components and how to produce them?

  2. Can anyone recommend frameworks in addition to or as an alternative to Spring's contract first web services?

Thanks.

In answwer to 2. Another alternative is CXF. I have a tutorial here for devloping a CXF webservice contract first with maven.

I use axis2 for contract first WS development. This guide is pretty close to how I do it.

  1. build a WSDL and schema
  2. Run WSDL2Java
  3. Build an implementation of the generated skeleton interface

I've also used spring-ws, which I found to be about the same amount of work.

A framework that is dedicated to contract first web services is Spring Web Services . I recommend it because of the easiness of integrating web services with large scale applications with the support of the Spring framework.

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