Understanding the service-oriented pattern