Service Layer Frame

- J.D. Meier, Alex Homer, Jason Taylor, Prashant Bansode, Lonnie Wall, Rob Boucher Jr, Akshay Bogawat

There are several common issues that you must consider as your develop your service layer design. These issues can be categorized into specific areas of the design. The following table lists the common issues for each category where mistakes are most often made.

Area Key issues
Authentication and Authorization Lack of authentication across trust boundaries.
Lack of authorization across trust boundaries.
Granular or improper authorization.
Communication Incorrect choice of transport protocol.
Use of a chatty service communication interface.
Failing to protect sensitive data.
Exception Management Not catching exceptions that can be handled.
Not logging exceptions.
Not dealing with message integrity when an exception occurs.
Messaging Channels Choosing an inappropriate message channel
Failing to handle exception conditions on the channel.
Providing access to non-messaging clients.
Message Construction Failing to handle time-sensitive message content.
Incorrect message construction for the operation.
Passing too much data in a single message
Message Endpoint Not supporting idempotent operations.
Not supporting commutative operations.
Subscribing to an endpoint while disconnected.
Message Protection Not protecting sensitive data.
Not using message security to protect messages that cross multiple servers.
Not considering data integrity.
Message Routing Not choosing the appropriate router design.
Ability to access a specific item from a message.
Ensuring that messages are handled in the correct order.
Message Transformation Performing unnecessary transformations.
Implementing transformations at the wrong point.
Using a canonical model when not necessary.
REST Implementing state within the service.
Overusing POST statements.
Putting actions in the URI.
Using hypertext to manage state.
SOAP Not choosing the appropriate security model.
Not planning for fault conditions.
Using complex types in the message schema.

Last edited Feb 2, 2009 at 5:23 PM by prashantbansode, version 1

Comments

No comments yet.