Welcome!

Microservices Expo Authors: Aruna Ravichandran, Elizabeth White, Liz McMillan, Pat Romanski, Cameron Van Orman

Related Topics: Microservices Expo

Microservices Expo: Article

Pragmatic SOA Interoperability

Architecture, not new middleware

A well-planned Web Service interoperability environment begins by clearly defining who your Web Service consumers are now and in the future. There was a time not so long ago when you could count on a fairly homogenous consumer population. This was about the same time that you were happy just to be able to get a Web Service running in the first place and finding a consumer who could actually interact with your Web Service was cause for celebration. Those days have changed however and Web Services interoperability, once a "fancy" addition to your SOA design, is now a key and indispensable requirement in most SOA scenarios.

Today, SOA architects must contend with complex scenarios that assume a variety of Web Service consumers or in many cases are asked to create Web Services that are generic enough to be interoperable with just about any known consumer. If you're serious about implementing SOA in your worldwide enterprise you'll have to forget about the luxury of being able to dictate the configuration of all of your consumers and instead build fully interoperable Web Services. Most robust Internet Web Service APIs, familiar to all of us such as Amazon.com, eBay, or Salesforce.com, have learned this lesson already with very successful results. Those companies know that Web Service interoperability lies in the architecture approach and not in the implementation of new middleware.

What Makes Interoperability So Challenging?

Standards Proliferation and Complexity
The interaction between Web Services and consumers is rooted on a set of standards developed by standards organization committees at OASIS, W3C, and WS-I. These standards such as XML Schema, SOAP, WSDL, and WS-* protocols are intended to provide a technology-agnostic level of abstraction over the service implementation which should theoretically guarantee interoperability. However, it's not the standards themselves, but their implementation by individual Web Service technology vendors that must be interoperable. In a perfect world, every vendor would implement Web Services standards in exactly the same way, which would guarantee interoperability out-of-the-box. As you must know, that's just too good to be true. In the real world, every vendor implements these standards sometimes with just slight variations and other times entirely different versions. In many other cases vendors choose which aspects of a standard to implement, or maybe even choose not to implement a given standard at all. This proliferation and complexity is most obvious when we look at the WS-* protocols.

When this article was written, up to four different WS-Addressing versions were in use. Three versions of the specification are named by their release date: the March 2003 version, the March 2004 version, and the August 2004 version, developed before the specification moved to W3C. The fourth version, 1.0, was completed in May 2006 and developed after the specification went under the W3C umbrella. And if that's not confusing enough, after moving to W3C, the specification split into multiple parts: a core specification and two other specifications that describe bindings for SOAP and WSDL.

There are also different WS-* protocols that address very similar scenarios such as WS-Eventing and WS-Notifications, WS-MessageDelivery and WS-Addressing or WS-Reliability and WS-ReliableMessaging. Committees from OASIS and W3C are working to unify those overlapped protocols into a single set of standards. Vendors can and often implement different versions of the same WS-* protocol or implement one of multiple similar standards such as WS-ReliableMessaging instead of WS-Reliability.

Although the combination of SOAP and WS-* protocols provide a solution for some of the most interesting challenges in distributed computing, the complexity of this approach makes it impractical and nearly impossible to implement in real-world interoperability scenarios. Just a small subset of the over 100 WS-* standards specifications available today have been implemented by vendors. One last, but certainly not least, challenge involved in using SOAP and WS-* protocols is that they can also limit the service availability to clients such as script applications or Web browsers that don't support that generation of SOAP messages.

Best Practice: Use WS-I Profiles
Some WS-* protocols have a WS-I profile available that contains some of the principles and a subset of features of the protocols that should be implemented to guarantee interoperability. Making the services compatible with a WS-I profile (is this one exists) is a standard and globally accepted approach to interoperability. However for some protocols, a WS-I profile isn't available or doesn't address the interoperability requirements.

Best Practice: Implement Multi-Binding Services
To support multiple versions of the same WS-* protocol it's recommended to design the services with multiple bindings per specific versions of the protocol. This approach segments the different types of interactions at the binding level improving aspects like versioning, management, etc. The code in Listings 1 and 2 illustrates a sample Microsoft Windows Communication Foundation (WCF) Service configured to support multiple types of interactions using bindings. Specifically, this service supports secure and reliable interactions as well as basic SOAP interactions using two different bindings.

Best Practice: Exposes SOAP and REST Interfaces
Resource State Transfer (REST) provides a simpler alternative to the use of SOAP and the WS-* protocols for some scenarios. The fact that REST is based on XML messages over HTTP makes it accessible to most of the client technologies on the market including browsers and script languages. Some services can expose both SOAP and REST interfaces and offer a broader set of options to consumers. The example in Listing 3 illustrates that approach using Oracle Application Server.

Aligning Code and Contract
When designing a service you must first consider where to start. Do you create your code first or your contract first? Or do you give them each equal importance by creating them in parallel. However, even if you were extremely diligent in developing perfect synergy between your code and your contract you would still find that the limitations of the basic standards themselves, such as XSD and WSDL, could easily do you in. For example, the XML Schema model presents severe limitations in terms of composability compared with most programming languages data structures. This is often reflected in non-optimal translations between XML Schema structures and programming data structures. Similarly, WSDL 1.0 and 2.0 are both too abstract for describing services that can be interpreted by Web Services frameworks in a consistent way.

There's a lot of debate in the Web Service community around whether to use a contract-first versus a code-first approach to develop Web Services. One of the common arguments in favor of a contract-first approach is that it facilitates interoperability. Whether that's arguably true, the reality is that just a few mortals know WSDL and XSD well enough to design solid service contracts. Given the complexities of both standards developers often end up designing non-optimal WSDLs and XSDs that are translated into poor service implementations. On the other hand, a code-first approach is more familiar to developers but can produce contracts that aren't interoperable.

Best Practice Recommendation
Some of the most successful Web Service implementations have been designed using a hybrid approach that combines the agility of a code-first approach with the flexibility of a XSD/WSDL-first approach. Following these technique developers can leverage their existing skills on a particular development platform to guarantee an optimal service implementation while the WSDL-XSD experts verify that the contract is suited to meeting the interoperability needs. Figure 1 illustrates this approach.

Multi-Transport Services
SOAP, WSDL, and the different WS-* protocols are transport-agnostic specifications. Theoretically it's possible to host the same service using multiple transports such as HTTP, TCP, JMS, etc. Although this feature is supported by some of the Web Services technology frameworks on the market such as Windows Communication Foundation (WCF) or Apache Axis, only HTTP has been adopted widely enough to be considered for interoperability scenarios. Another factor to consider when implementing multi-transport services in real-world scenarios is that certain transports require a specific behavior of the service. For instance, a Web Service that uses JMS as a transport probably implements one-way, long-running, and asynchronous operations. That behavior is fundamentally different from a Web Service that uses HTTP as a transport on which it makes sense to implement atomic operations using different multiple exchange patterns. Hosting the same Web Services using JMS and HTTP makes little or no sense in most of the scenarios.


More Stories By Jesus Rodriguez

Jesus Rodriguez is a co-founder and CEO of KidoZen, an enterprise mobile-first platform as a service redefining the future of enterprise mobile solutions. He is also the co-founder to Tellago, an award-winning professional services firm focused on big enterprise software trends. Under his leadership, KidoZen and Tellago have been recognized as an innovator in the areas of enterprise software and solutions achieving important awards like the Inc 500, Stevie Awards’ American and International Business Awards.

A software scientist by background, Jesus is an internationally recognized speaker and author with contributions that include hundreds of articles and sessions at industry conferences. He serves as an advisor to several software companies such as Microsoft and Oracle, sits at the board of different technology companies. Jesus is a prolific blogger on all subjects related to software technology and entrepreneurship. You can gain valuable insight on business and software technology through his blogs at http://jrodthoughts.com and http://weblogs.asp.net/gsusx .

More Stories By Javier Mariscal

Javier Mariscal is the President and Founder of TwoConnect, Inc, a highly renowned consulting and systems integration company based in Miami, Florida with subsidiary offices in New York City, and San Francisco. After nearly 15 years, Javier is still mostly responsible for guaranteeing that TwoConnect’s innovative integration solutions deliver real and immediate results to its clients. As an author and frequent speaker on SOA and related technologies, Javier constantly reaffirms the need for “practical SOA” which focuses not on pushing a brand or a platform but on delivering immediate business rewards. Under his leadership, TwoConnect has been the first to market with multiple SOA related products and solutions such as the Web Services Enhancements 3.0 Adapter for Microsoft BizTalk Server and the SQL Server Service Broker Enhancements, both currently in production at companies worldwide. In 2006, TwoConnect announced a new line of products and services under its AdapterWorx brand, which has been hugely successful in accelerating its SOA solutions delivered. Following the success of AdapterWorx and a banner year in 2006 in general, Javier was nominated for Entrepreneur of the Year by Hispanic Business Magazine.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


@MicroservicesExpo Stories
Digital transformation leaders have poured tons of money and effort into coding in recent years. And with good reason. To succeed at digital, you must be able to write great code. You also have to build a strong Agile culture so your coding efforts tightly align with market signals and business outcomes. But if your investments in testing haven’t kept pace with your investments in coding, you’ll lose. But if your investments in testing haven’t kept pace with your investments in coding, you’ll...
In his session at 21st Cloud Expo, Michael Burley, a Senior Business Development Executive in IT Services at NetApp, will describe how NetApp designed a three-year program of work to migrate 25PB of a major telco's enterprise data to a new STaaS platform, and then secured a long-term contract to manage and operate the platform. This significant program blended the best of NetApp’s solutions and services capabilities to enable this telco’s successful adoption of private cloud storage and launchi...
DevOps at Cloud Expo, taking place October 31 - November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA, is co-located with 21st Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. The widespread success of cloud computing is driving the DevOps revolution in enterprise IT. Now as never before, development teams must communicate and collaborate in a dynamic, 24/7/365 environment. There is no time to w...
Enterprises are adopting Kubernetes to accelerate the development and the delivery of cloud-native applications. However, sharing a Kubernetes cluster between members of the same team can be challenging. And, sharing clusters across multiple teams is even harder. Kubernetes offers several constructs to help implement segmentation and isolation. However, these primitives can be complex to understand and apply. As a result, it’s becoming common for enterprises to end up with several clusters. Thi...
Containers are rapidly finding their way into enterprise data centers, but change is difficult. How do enterprises transform their architecture with technologies like containers without losing the reliable components of their current solutions? In his session at @DevOpsSummit at 21st Cloud Expo, Tony Campbell, Director, Educational Services at CoreOS, will explore the challenges organizations are facing today as they move to containers and go over how Kubernetes applications can deploy with lega...
Today most companies are adopting or evaluating container technology - Docker in particular - to speed up application deployment, drive down cost, ease management and make application delivery more flexible overall. As with most new architectures, this dream takes significant work to become a reality. Even when you do get your application componentized enough and packaged properly, there are still challenges for DevOps teams to making the shift to continuous delivery and achieving that reducti...
Is advanced scheduling in Kubernetes achievable? Yes, however, how do you properly accommodate every real-life scenario that a Kubernetes user might encounter? How do you leverage advanced scheduling techniques to shape and describe each scenario in easy-to-use rules and configurations? In his session at @DevOpsSummit at 21st Cloud Expo, Oleg Chunikhin, CTO at Kublr, will answer these questions and demonstrate techniques for implementing advanced scheduling. For example, using spot instances ...
SYS-CON Events announced today that Cloud Academy has been named “Bronze Sponsor” of SYS-CON's 21st International Cloud Expo®, which will take place on Oct. 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Cloud Academy is the leading technology training platform for enterprise multi-cloud infrastructure. Cloud Academy is trusted by leading companies to deliver continuous learning solutions across Amazon Web Services, Microsoft Azure, Google Cloud Platform, and the most...
The last two years has seen discussions about cloud computing evolve from the public / private / hybrid split to the reality that most enterprises will be creating a complex, multi-cloud strategy. Companies are wary of committing all of their resources to a single cloud, and instead are choosing to spread the risk – and the benefits – of cloud computing across multiple providers and internal infrastructures, as they follow their business needs. Will this approach be successful? How large is the ...
DevOps is often described as a combination of technology and culture. Without both, DevOps isn't complete. However, applying the culture to outdated technology is a recipe for disaster; as response times grow and connections between teams are delayed by technology, the culture will die. A Nutanix Enterprise Cloud has many benefits that provide the needed base for a true DevOps paradigm. In their Day 3 Keynote at 20th Cloud Expo, Chris Brown, a Solutions Marketing Manager at Nutanix, and Mark Lav...
Many organizations adopt DevOps to reduce cycle times and deliver software faster; some take on DevOps to drive higher quality and better end-user experience; others look to DevOps for a clearer line-of-sight to customers to drive better business impacts. In truth, these three foundations go together. In this power panel at @DevOpsSummit 21st Cloud Expo, moderated by DevOps Conference Co-Chair Andi Mann, industry experts will discuss how leading organizations build application success from all...
DevSecOps – a trend around transformation in process, people and technology – is about breaking down silos and waste along the software development lifecycle and using agile methodologies, automation and insights to help get apps to market faster. This leads to higher quality apps, greater trust in organizations, less organizational friction, and ultimately a five-star customer experience. These apps are the new competitive currency in this digital economy and they’re powered by data. Without ...
With the modern notion of digital transformation, enterprises are chipping away at the fundamental organizational and operational structures that have been with us since the nineteenth century or earlier. One remarkable casualty: the business process. Business processes have become so ingrained in how we envision large organizations operating and the roles people play within them that relegating them to the scrap heap is almost unimaginable, and unquestionably transformative. In the Digital ...
These days, APIs have become an integral part of the digital transformation journey for all enterprises. Every digital innovation story is connected to APIs . But have you ever pondered over to know what are the source of these APIs? Let me explain - APIs sources can be varied, internal or external, solving different purposes, but mostly categorized into the following two categories. Data lakes is a term used to represent disconnected but relevant data that are used by various business units wit...
The nature of the technology business is forward-thinking. It focuses on the future and what’s coming next. Innovations and creativity in our world of software development strive to improve the status quo and increase customer satisfaction through speed and increased connectivity. Yet, while it's exciting to see enterprises embrace new ways of thinking and advance their processes with cutting edge technology, it rarely happens rapidly or even simultaneously across all industries.
With the rise of DevOps, containers are at the brink of becoming a pervasive technology in Enterprise IT to accelerate application delivery for the business. When it comes to adopting containers in the enterprise, security is the highest adoption barrier. Is your organization ready to address the security risks with containers for your DevOps environment? In his session at @DevOpsSummit at 21st Cloud Expo, Chris Van Tuin, Chief Technologist, NA West at Red Hat, will discuss: The top security r...
Most of the time there is a lot of work involved to move to the cloud, and most of that isn't really related to AWS or Azure or Google Cloud. Before we talk about public cloud vendors and DevOps tools, there are usually several technical and non-technical challenges that are connected to it and that every company needs to solve to move to the cloud. In his session at 21st Cloud Expo, Stefano Bellasio, CEO and founder of Cloud Academy Inc., will discuss what the tools, disciplines, and cultural...
Enterprises are moving to the cloud faster than most of us in security expected. CIOs are going from 0 to 100 in cloud adoption and leaving security teams in the dust. Once cloud is part of an enterprise stack, it’s unclear who has responsibility for the protection of applications, services, and data. When cloud breaches occur, whether active compromise or a publicly accessible database, the blame must fall on both service providers and users. In his session at 21st Cloud Expo, Ben Johnson, C...
21st International Cloud Expo, taking place October 31 - November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA, will feature technical sessions from a rock star conference faculty and the leading industry players in the world. Cloud computing is now being embraced by a majority of enterprises of all sizes. Yesterday's debate about public vs. private has transformed into the reality of hybrid cloud: a recent survey shows that 74% of enterprises have a hybrid cloud strategy. Me...
‘Trend’ is a pretty common business term, but its definition tends to vary by industry. In performance monitoring, trend, or trend shift, is a key metric that is used to indicate change. Change is inevitable. Today’s websites must frequently update and change to keep up with competition and attract new users, but such changes can have a negative impact on the user experience if not managed properly. The dynamic nature of the Internet makes it necessary to constantly monitor different metrics. O...