Service-oriented architecture (SOA) can demolish the status quo. Decades of siloed system design have left most government organizations with antique, rickety systems that donโt play well with others. By putting new SOA wrappers on old proprietary applications, modular interfaces can be built, shared, linked, reused and recombined as needed, to create an infinitely interoperable IT utopia.
No need to rip and replace old systems; instead, they can be refurbished and extended internally and even externally via the Web. This is where SOA shows promise well beyond rejuvenating legacy enterprise systems, says Bill St. Arnaud, senior director of advanced networks at Ottawa-based CANARIE Inc.
โSOA is now seen as a key component in a broad range of fields beyond enterprise IT: chemistry, biology, everything,โ he says. โWhether itโs a traditional payroll application or radio telescope research, it makes sharing, mapping and transferring data, and creating new mash-ups, simple.โ
SOA can also have a profound impact on business processes. Many complex processes that require human back-and-forth can be automated as SOA-based Web services, which in turn can invoke other Web services, and then others, throughout the service chain. โIf GM orders a phone line from Bell Canada [for example], it has to be validated, checked, tested, delivered and invoiced by many people,โ says St. Arnaud. Instead, all the specialized steps in the transactions can be itemized, agreed in a contract, and automated as interlinking Web services between both companies.
Take-up of SOA is stronger in more competitive markets, he says. In the U.S., about 70 per cent of companies say they plan to invest in it over the next two years, according to IDC Canada research. In sluggish Canada, the figure is 40 per cent, with the public sector lagging still further behind the private sector.
Building this SOA utopia wonโt be easy. There are many impediments, ranging from making the business case to fix systems that arenโt entirely broken to governance and liability issues to standards wars, notes St. Arnaud. Nevertheless, SOA is slowly but surely creeping into many areas of Canadian government.
The way SOA works
In 2005, the Alberta Ministry of Justice deployed a SOA-based enhancement to its maintenance enforcement program (MEP), driven by new legislation enacted the year before. Dubbed โDeadbeat Dadโ legislation, the Ministry was concerned with finding ways to track and enforce adherence to court orders by withholding access to government services, explains Stuart Charlton, enterprise architect at BEA Systems Inc. in Toronto. โSo if someone doesnโt pay child support, they might suspend their driverโs licence.โ
As in other provinces, Albertaโs ministries and government departments are far from integrated. Tracking thousands of these MEP cases over time, sometimes more than 10 years, and building in the triggers for enforcement actions based on patterns of misbehaviour was a major system undertaking within the Justice Ministry. But developing processes to ensure actions are executed by a multitude of external ministries would have been a monumental inter-departmental undertaking.
Instead of labour-intensive back-and-forth between multiple departments โ phoning, faxing, exchanging forms and information โ the Ministry of Justice used Web services to automate the workflow. โThe new approach is to agree on a shared contract that meets the needs of the consumers and producers of services and information,โ says Charlton. โThe biggest challenges in SOA are coming to those contractual agreements between parties, and the processes and change management around that.โ
But once these issues are settled, the technology itself is relatively straightforward. A producer posts the services it has made available for common use โ for example, an application that identifies an Albertan as an MEP case โ through an electronic interface based on SOA standards, which can be used by any authorized consumer using the same Web-based technology. All the various conditions for an exchange between departments, including exceptions that require human judgement, are agreed and scripted in advance.
โSo this is a conversation between the consumerโs and producerโs systems. The consumer says, I would like to request this service, and will validate the information I provide,โ says Charlton. โIt will then grab and use the service automatically if there is no exceptional condition. If there is, itโll provide a worklist to another interface for human review. But all this communication is happening behind the scenes.โ
Like a high-tech version of an Amish barn-raising, all the departments touched by the MEP program share and link the applications, processes and data that relate to it, instead of building a specific system for it.
Back-seat drivers
While the quest for competitive advantage may be a clear driver for SOA uptake in the private sector, the scenario is more complicated in the public sector. Without a profit motive, SOA is typically a hard sell that must be tackled indirectly and incrementally.
โThereโs no imperative to adopt it. Instead, it comes up in IT projects after budgets are approved to renew applications or to build new ones. SOA is almost incidental,โ says Michael Turner, an e-government strategy consultant and former ADM with Public Works.
The Treasury Boardโs CIO branch has provided direction on SOA, he says. โIt has done some ground-breaking work, providing overarching policies and standards,โ says Turner. โBut thereโs no requirement for departments to comply or demonstrate theyโre doing it to get budgets approved.โ
Turner acknowledges that without a compelling need, it would be virtually impossible to obtain funding to rearchitect a system with SOA. โThat implies jacking up the house to redo the foundation. People donโt do that. Instead they say, the next time we develop this application, weโll build a different kind of foundation with more flexible components that can be re-used.โ
But the consequences of putting off repairs to faltering IT infrastructure are higher costs in the long run, he warns. โThe operational costs of application management are significantly higher than they need to be. And itโs more complex to make modifications or add-ons to non-SOA systems. Weโre paying for the fact weโre not getting on board.โ
Even a trivial change like adding a new field to a legacy system can cost millions, agrees Tom Metzger, director of solutions engineering at Vancouver-based Make Technologies Inc., which specializes in modernizing legacy systems. โFuture maintainability of systems is a big driver in the public sector. And many government organizations are on the hook to respond to legislative changes.โ
Some crown corporations have been early adopters of SOA, says BEAโs Charlton. โWeโve seen some aggressive adoption at Farm Credit and Canada Post.โ He points out that Treasury Board is actively pursuing a strategy for IT transformation across the public sector. The challenge is overcoming the inertia to get started by focusing on agencies with a pressing need to undergo change.
โAgencies tasked with counter-terrorism are great examples,โ says Charlton. โThe RCMP and DND are starting to adopt SOA. Theyโre already doing it in front-line applications and theyโre modeling their approach after the U.S. Department of Defense, which is based on a SOA foundation.โ
The lack of a clear vision to sell to politicians and constituents contributes to funding issues, suggests Michael Kuhbock, founder and CEO of the Integration Consortium, an international industry association based in Calgary.
While creating citizen-centered services may be a worthy cause, the public doesnโt perceive any urgency. โThey say: Everything seems to work okay, so why spend millions on SOA when there are other needs?โ says Kuhbock.
Kuhbock believes an issue that fires passions and unifies efforts, such as environmental stewardship, may play that role in the future. Every service the government provides, and every supplier the government uses, has an environmental impact. โRight now, the data around that is not tracked,โ he says, pointing out green issues are gaining traction with the public. โIn the future, the public may say: We wonโt stand for this anymore. We want to ensure we know what every service organization in government is doing to the environment.โ
SOA is still a work in progress, and its capabilities are ill-defined and confusing. SOA facilitates system integration, but it doesnโt actually do the integration.
โItโs an architecture, nothing more,โ says Kuhbock. โIn the construction industry, you engage an architect to design the building so it has a sustainable infrastructure and everything works together โ but then you engage construction crews to build it.โ
SOA design is counter-intuitive and difficult for IT staff trained in classic waterfall systems design, adds Turner. โThe traditional way is to look at application suites as a whole, design in the most integrated way possible, internally within the system, and use programming logic that produces tightly-bound functions with minimal duplication.โ
While it may be an elegant system initially, the costs to make any modifications or additions later are high, since the system isnโt designed to change or grow over time, he says. โThen SOA comes along, intentionally breaking things down into blocks and duplicating functions so they can work as loosely coupled modules. Itโs less elegant, but in the end, theyโre cheaper to put together.โ
Governance and accountability issues are also stumbling points when sharing SOA infrastructure and interlinking modules โ a problem thatโs more acute in the public sector versus the private, he says. The horizontal shared services movement in government butts directly against the brick wall of vertical organizational structures.
โThe cabinet system we have in Canada is built on the intentional design of silos,โ says Turner. โEach set of programs is enabled by legislation and statutes, and each organization supports a minister whoโs accountable to Parliament for that set of programs. Natural silos are designed into the system, so when you try to apply common technology across departments, it goes against the grain. It almost comes down to, do you want efficiency or accountability?โ
The tendency to treat SOA as an IT project rather than a strategic architecture is a consequence of these silos, says Kuhbock. At a recent presentation he made to government IT officials, many of them said they had the same central issue: โThey can do SOA in their own compartmentalized area, but they canโt get it broadly driven; so theyโre just stuck in their silos again. Itโs like architecting a town, district by district, without thinking about how the whole town will interact, or mapping out the whole community.โ
Vendors and standards wars
Beyond the public sector, there are some industry-wide SOA issues that need to be settled. โSOA is on a hype cycle,โ says Kuhbock. โThereโs confusion about it in the marketplace across all industries. Thereโs no universally accepted definition, so itโs different from one industry to the next.โ
IT vendors feed this confusion by treating SOA as a selling point in their marketing strategies, suggests Kuhbock, with many branding their particular product or flavour around their own definitions.
โItโs all based on what theyโre selling,โ he says. โEverybody has different reasons for being active in this space, be they producers or consumers of solutions. All have different objectives, so itโs hard to get consensus, and this bleeds into every area of its use.โ
As a consequence, the number of SOA standards is rapidly proliferating. โAt last count, there were over 110 SOA standards,โ says Kuhbock.
St. Arnaud agrees this lack of common standards is a major issue. โThere are standards wars going on. Web services have exploded into a multitude of different variations and special sector types. Now suddenly, this great nirvana solution that could make everything compatible has itself become incompatible with different versions.โ
But various government entities โ the federal Treasury Board, the Ontario Government, Canada Health Infoway Inc. โ have done extensive work in defining SOA standards and providing technical guidance for their constituent areas. So any lack of standard definitions should in theory be less of an issue in government relative to other sectors that donโt have top-down leadership.
Not so, says Kuhbock. โSOA has been muddled by the vendor community,โ he says, pointing out public sector IT people still need commercial software tools to re-architect their systems. โIf the government is dealing with vendors A, B and C, and each of those has a set of standards around their SOA-based tools, then the government is back into analysis paralysis sorting it out. No oneโs really come out with best practices, methodologies and so on, and the vendors keep redefining the standards around their tools.โ
Nor is any one major vendorโs version emerging as a de facto standard in the public sector, since the government uses a wide range of vendors to encourage competition. โYou donโt just have IBM and BEA, you have Microsoft, SAP, Oracle, Accenture, Deloitte โ all moving in different directions,โ says Kuhbock. Industry groups like the Integration Consortium are trying to facilitate consensus, and vendors are starting to agree to disagree, but this process is proceeding slowly, he adds.
Kuhbock emphasizes SOA is not a software tool or an IT project, but an architecture that enables communication between services, data and processes. โIf youโre constructing a building, you need concrete, beams and pylons, but if you donโt have an architecture, youโve created an unstable environment that can crash. Many IT systems were built as silos, so theyโre like buildings that donโt have staircases or elevators to join the first and fifth floors.โ
Adding Web services to link the floors without a master plan may not improve the situation, he warns. Should you just add a stairwell to link the two floors, or do you need an elevator shaft for the entire building?
Software can be used to enable SOA, but it doesnโt create the architecture: a comprehensive strategy does that. โOnce you map out the SOA strategy for an organization, then you can take out bite-sized pieces that are SOA-enabled projects. If you donโt do that first, youโre just adding another hairball to systems,โ he says, pointing out many SOA silos are starting to pop up in organizations.
โIf youโre using it to service-enable a couple of functions, but those services arenโt spread over the entire organization with the proper governance around them, theyโll just get lost in all the other hairballs in the IT infrastructure.โ
SOA in health care
Canada Health Infoway is promoting SOA to evolve e-health records across the health care sector, says Michael Martineau, e-health practice leader at the Branham Group, an Ottawa-based research consultancy. โInfoway has produced reference architecture and provincial blueprints as guidance for this. All the provinces reference it in their plans,โ he says, noting itโs all based on health care organizations exposing a suite of services that others can use.
The SOA framework developed by Infoway is not fundamentally different from the federal governmentโs approach, explains Martineau. โA framework can imply a variety of standards. Health care has some unique messaging standards and other differences in nomenclature. For example, when a service returns data, how itโs interpreted will be different for lab data compared to an e-commerce transaction. But the conceptual framework is the same.โ
Itโs possible to develop e-health records without SOA, but Martineau points out calling them โrecordsโ is misleading. โItโs a bad term because itโs not one single record. The data needed for it resides in different systems such as medication, labs, etc. An e-health record is really a system to pull data from different sources, so this initiative is a great big integration project. SOA is the best way to do it, and thatโs why Infoway is pushing it.โ
But uptake of SOA is relatively low in the sector. In a Branham survey of health care senior IT staff conducted last fall, about half said they had no plans for SOA. โThis has to do with the proprietary architectures and complete vendor suites that are prevalent in the sector,โ suggests Martineau. โTheir view is that whatever the vendor gives us, thatโs what weโre going to use, so SOA doesnโt make sense for us.โ
Infoway faces many challenges in developing this area, he says. Many large health care IT shops such as hospitals are spending most of their limited budgets on maintaining their systems, so moving on SOA is very difficult. Nor is there any formal mandate to adopt SOA, beyond requiring it in project plans if organizations want to access Infoway dollars.
โBut most of Infowayโs projects to date have been provincial or regional projects, and I havenโt seen much trickling down to individual health care organizations,โ says Martineau. โAnd thereโs the chicken-and-egg problem of vendors, who have to adopt SOA as well. IBM has been aggressive in moving to SOA, but some vendors are resisting as it serves their interests to lock in their customers.โ
In Ontario, the regional reorganization into local health integration networks (LHINs) is providing a driver for SOA adoption in some areas, he says. There are two main approaches. Where there are many versions of a proprietary platform, health care organizations are consolidating their systems around one vendorโs platform. In Northern Ontario, for example, many hospitals are Meditech shops, and these will eventually be consolidated into a single version for the region, he says.
โWeโre seeing the same thing in other parts of Canada. Until Meditech moves on SOA, itโll be harder for these regions to move as well. But there are products from other vendors that wrap around Meditech to expose services as SOA to other apps, so itโs still possible.โ
In areas such as the GTA that have multiple vendors and platforms, health care organizations are starting to adopt SOA to integrate within their regions, he says. SOA is the best approach for building modular interfaces around disparate platforms to glue health care systems together within a region, without getting bogged down in technical specs, says Martineau.
โFor the first time, technology and business people can talk the same language,โ he says. โThe process for conducting lab tests can be defined as a series of services and functions, and you donโt need to care about the technical details or the programming language.โ
There are back-end advantages as well, he adds. โYou can take a service and split it across several servers, do load balancing and so on. People donโt care about behind-the-scenes adjustments. The old way, you did have to worry about this, as the business architecture was different from the technical architecture.โ
SOA in municipalities
Vendor issues also play a role in the municipal sector, says Roy Wiseman, CIO of the Region of Peel. Municipal software is a very niche market with small vendors providing specialty software tools. โTheyโre not big-10 names,โ he says. โItโs software for tasks like the collection of payment for parking tags and registration systems for voters.โ
Municipalities are primarily looking for off-the-shelf products, but their specialty vendors are slower to adapt to new technology such as SOA. Nevertheless, Wiseman says, he sees significant changes afoot in the future. โSOA drives the software development industry more than it drives us.โ
Larger municipalities such as Calgary and Edmonton, which have SOA projects under way, have more money and influence, and can attract vendors who will customize their wares or undertake software development projects themselves. But smaller municipalities donโt have the same clout or resources, he says.
SOA is starting to trickle down to the municipal level. โOver the next year, weโll start seeing it referenced as a regular feature in RFPs for off-the-shelf and custom solutions,โ says Wiseman. But most vendors arenโt ready to respond at present. โWeโre shooting ourselves in the foot if we make it a mandatory requirement now, as none of the providers are at that point.โ
Once it gains traction, Wiseman believes SOA will play a powerful role in sewing together the individual geographic information systems (GIS) across municipalities. Searching for GIS-based information across a province or region would become quick, simple queries instead of labour-intensive exercises.
โIf you look at Peel or Ontario, there is really only one geography,โ he says. โAll of us have one subset of information about that region, be it street networks, gas and electricity lines or land parcels. We can build apps to pull that in from different sources, but we all need to do that in a standardized way. Building one-to-many interfaces is where thereโs real complexity.โ
Simplifying interaction between organizations is where SOA has the greatest value, says Wiseman. โWe can all build one-to-one interfaces internally, but when you get into inter-jurisdictional dealings, then you need a common language.โ
SOA can provide that Esperanto. But due to all the hype, some believe SOA is just another technology fad. While Wiseman doesnโt believe SOA is revolutionary, he does believe itโs here to stay. โItโs the evolution of the same idea thatโs been around for years: object-oriented programming, CORBA and so on, which are all about fitting together software components so they interoperate.โ SOA will likely continue to evolve, perhaps into something with a new name, but the fundamental approach to unifying systems will remain the same, he says.
Rosie Lombardi is a freelance writer based in Toronto. Contact her at [email protected]
Related content:
SOA: A better ballgame with BTEP
SOA: Itโs architecture, not technology
SOA: Understanding the architecture