Progress / Actional/Resources/White Papers/SOA Worst Practices Volume I
Web Services Wrapper: Knowing Which Apps to Wrap ... and WhenA SOA doesn't have to be complicated; however, it's important to have a clear SOA strategy and to understand the security risks and ways to minimize them. Or you could be looking at a recipe for disaster. This section discusses the tactic of employing the Web services wrapper to extend the life of your existing applications. The Idea: "Get Instant SOA: Grab Your Existing Apps and Wrap 'Em Up"Granger Machinery, a manufacturer of heavy and industrial machinery, thought that it had a great idea for starting a SOA. The company planned to use Web services in the form of a "wrapper" to make its existing inventory and customer database available to other lines of business. The SOA was initiated by allowing a client to send complete SQL statements in the request to the database. However, this protocol left the relational database susceptible to SQL injection attacks, whereby attackers bypass the SQL statements defined on a Web server in order to inject their own statements. The IT team thought that it could reduce this risk by using an anti-injection attack feature in its existing security product. This feature would detect and sanitize SQL statements that were written to perform destructive operations, such as "Drop" or "Delete." Why It Wasn't So SmartBy itself, this Web service approach of putting a wrapper on an existing application or database is not dangerous. However, if you think about this case, it is actually a tightly coupled approach and requires that the requestor know the implementation details to make the SQL call. This approach suffers from two major problems:
The Web services wrapper approach can be dangerous if not undertaken with care. In this case, SQL injection problems resulted from two sources. A Better ApproachBy applying SOA and Web service standards, you can quickly achieve reuse and integration goals. However, this approach needs to be part of an overall SOA strategy, or you risk experiencing problems at the application level. In the case of Granger Machinery, the company needed to address the following in its SOA strategy:
Bottom line? Wrapping a service is an excellent way to get reuse out of applications that are already delivering value to your business. It is therefore a good way to build a SOA, so long as you have solid IT business alignment. (Governance should ensure that such issues are accounted for and built into the strategy. Policies then will perform the control, with management and run-time governance ensuring these polices are enforced and measured.) Randomly wrapping services, however, can lead to security and performance problems—inside and outside the organization. In the end, remember that building a SOA is an incremental process. You can start by wrapping services that are working well today and rebuild other SOA services over time. In addition, you can prioritize what to rebuild and what to build from scratch based on the new business opportunities that come your way. Bottom line, the Web services wrapper is a great tactical approach for moving toward SOA, but it is not a panacea. For More InformationLearn more about extending the life of your existing apps with Web services wrappers: download the free white paper, SOA Introduction: IT and Business Perspectives |
More About Web Services WrappersFind out when and how to use Web services wrappers. Download the free white paper, "SOA Worst Practices, Volume I," now. |



