Chapter 9. Building contract-first web services in Spring

This chapter covers

  • Defining XML service contracts

  • Creating document-centric web services

  • Marshaling and unmarshaling XML messages

  • Building template-based web service clients

Imagine that it’s the weekend and you’ve got a trip planned. Before you hit the road, you stop by your bank to deposit your paycheck and to pick up some spending cash.

This is not an unusual scenario, but what makes it interesting is that you bank at an unusual bank. When you walk in the door, there are no tellers to help you. Instead, you have full access to handle the transaction yourself. You have direct access to the ledger and to the vault, allowing you to handle all of the minute details of the transaction on your ...

Get Spring in Action, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.