Welcome!

Microservices Expo Authors: Liz McMillan, Pat Romanski, Elizabeth White, Stackify Blog, Andreas Grabner

Related Topics: Microservices Expo

Microservices Expo: Article

Web Services for Enterprise Application Integration

Web Services for Enterprise Application Integration

Enterprise applications have really made significant strides over the past 10 years (especially in the past 4) to improve their ability to integrate into a larger corporate scheme. There was a time when the letters SAP invoked uncertainty on the part of non-SAP consultants as to what these systems did. Back then, most integration was done primarily through the underlying data model and information on the platform was scarce, especially on the SAP Web site.

The integration with SAP that wasn't handled through customization of the data model occurred mainly through extracted documents known as IDOCs - structured documents based on internally defined structure and loosely defined codes. This made IDOCs useful for integration internally among developers within the same organization. As things progressed, SAP customers demanded a better interface for real-time integration of Enterprise Resource Planning (ERP) capabilities with existing manufacturing systems. Thus, Business Application Programming Interfaces (BAPI), offering an Object Request Broker (ORB) architecture against which programmers could communicate with ERP objects was born. With BAPI, it became possible to develop applications that could synchronize the data in the ERP system with other existing enterprise applications, such as Electronic Data Interchange (EDI).

BAPIs worked well for a time, until the ERP information had to be shared with external entities, such as the supply chain. Many companies didn't like the idea of allowing their trading partners and customers to directly impact their mission-critical systems, and IDOCs offered little assistance in this area, given the lack of structural information that accompanied the documents. Since this need emerged in parallel with the development of the eXtensible Markup Language (XML), the requirement and specification were in complete synergy to become the natural solution.

With the advent of Web services - a model for developing application components designed for sharing with other applications in a loosely coupled manner-the question to be answered is, "What problem does this solve for enterprises today?" As we've seen thus far, each of the advances in technology was incorporated into the enterprise application platform based on consumer needs. Initially, the need was customization, then communication of data with other internal systems, and finally, the need for real-time access for synchronization.

Web Services in An Enterprise World
Business-to-business (B2B) and enterprise application integration (EAI) are both about the development of new or modified processes for the purposes of bettering the organization. These enhancements might lead to faster production, lower cost of development, or increased communication with customers and partners. The crux of these enhancements can be readily seen in Customer Relationship Management (CRM), ERP, Supplier Relationship Management (SRM), and Supply-Chain Management (SCM) applications.

B2B and EAI are also about providing access to data that has been typically developed in stove-pipe applications locked away from each other by artificial boundaries. These new processes require that information be provided on demand and be up-to-date with the latest changes. It's no longer acceptable to have a two-day lag on inventory information in a shop that relies on Just-In-Time manufacturing. Large manufacturers, such as General Motors, rely on completed parts assemblies arriving at the shipping dock the day they are to be assembled into a vehicle.

To answer the question posed at the end of the last section, we need to look at the Web services offering from different perspectives. The first perspective is the traditional view of Web services that many programmers are being introduced to today through tools such as BEA's WebLogic Workshop and Microsoft's Visual Studio .NET. This perspective leverages the Simple Object Access Protocol (SOAP) and Web Service Definition Language (WSDL) as a means to wrap a functional interface with an XML request-and-response document. From this perspective, the functions being wrapped have well-defined method signatures and use known data typing, such as strings and integers. The XML documents encode the parameters and return values to these functions using SOAP encoding (see Figure 1).

This methodology extends the Remote Procedure Call (RPC) functionality provided by popular ORBs, such as CORBA, DCOM, and Java RMI. However, it extends the RPC capabilities to operate over more traditional, and often firewall-friendly, interfaces such as SMTP and HTTP. On the other hand, merely extending an existing methodology does little to demonstrate the role that Web services could play in an EAI or B2B solution. For this we need to look at Web services from another perspective.

In the introductory paragraphs we discussed how systems like SAP used a document metaphor for data exchange with other systems-the IDOC. The weakness in the IDOC approach was the lack of communication of the structure to systems that weren't privy to the underlying data model. This is where the real opportunity for Web services exists.

When we reviewed the traditional approach to Web services, we saw that they operate through the use of XML-based request-and-response documents. XML was chosen as the format for SOAP encoding because it was able to incorporate metadata about the data encoded as well as carry the data itself. But SOAP is also a general enveloping facility that can carry non-XML documents between applications and can use alternate encoding schemes for the data it is carrying. Therefore, it's possible to use the multitude of existing document formats as input to and output from Web services processing.

Viewed from this perspective, it would be possible to use existing spreadsheet models and IDOC-like documents as input into a server-side process, thus providing significant reuse of existing systems architectures for interoperability and integration. Moreover, the SOAP architecture provides ample support to notify the sender that the document type is understood and has been properly processed by the receiver.

You might ask, "Why go through all the trouble of implementing a new encoding scheme instead of just transforming the data into XML?" That's an excellent question, which can only be answered by pointing to a possible real-world scenario. Before XML existed, there was a multitude of data formats, such as comma-separated values, tab-delimited, and even column-specific formats. To facilitate integration with existing applications, these formats were generated by many legacy systems; systems that today are costly to pull out of production or to rewrite to support XML.

Developing a new B2B or EAI process to communicate with systems might require that the data be formatted for the time being in something other than XML. Web services enables us to take advantage of these systems as components of a much larger process without having to first rewrite them - a very powerful and often overlooked capability of Web services. Remember, the goal of Web services is to componentize our legacy systems so they can participate in newly designed processes, which means that they will take some input and provide some output that will be used in downstream steps.

Next Steps for Web Services EAI
In contrast to past supporting changes made to enterprise applications for the purposes of integration, Web services is clearly being driven by the hype surrounding XML and the support for Web services by leading companies, such as Microsoft, IBM, BEA, Oracle, and others. The widespread support for Web services by these companies - for example, Microsoft betting the company on a Web services strategy - has led vendors such as Siebel, SAP, JD Edwards, and others to develop Web services or SOAP interfaces to their products. It's still questionable how soon enterprises will adopt these interfaces for use in new application integration solutions.

Standardization will be a key contributor to this adoption, if and when it occurs. In addition to SOAP, organizations created to ensure the interoperability of Web services implementations (WS-I) and emerging standards, such as Web Service Flow Language (WSFL), will assist with tying together these components in a consistent manner. These will help increase the chances of success.

Note: while there are many contrasts between efforts, the Object Management Group (OMG) has followed a very similar history in the CORBA arena, with only a modest level of adoption. And, while there are many differences between CORBA and Web services that don't allow for prediction based on past experience - for example widespread support by Microsoft - there's certainly a large degree of consistency in the approaches that indicates that Web services will have a much steeper learning curve than most of the early XML-based standards.

More Stories By JP Morgenthal

JP Morgenthal is a veteran IT solutions executive and Distinguished Engineer with CSC. He has been delivering IT services to business leaders for the past 30 years and is a recognized thought-leader in applying emerging technology for business growth and innovation. JP's strengths center around transformation and modernization leveraging next generation platforms and technologies. He has held technical executive roles in multiple businesses including: CTO, Chief Architect and Founder/CEO. Areas of expertise for JP include strategy, architecture, application development, infrastructure and operations, cloud computing, DevOps, and integration. JP is a published author with four trade publications with his most recent being “Cloud Computing: Assessing the Risks”. JP holds both a Masters and Bachelors of Science in Computer Science from Hofstra University.

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.


Microservices Articles
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, answered these questions and demonstrated techniques for implementing advanced scheduling. For example, using spot instances and co...
Skeuomorphism usually means retaining existing design cues in something new that doesn’t actually need them. However, the concept of skeuomorphism can be thought of as relating more broadly to applying existing patterns to new technologies that, in fact, cry out for new approaches. In his session at DevOps Summit, Gordon Haff, Senior Cloud Strategy Marketing and Evangelism Manager at Red Hat, discussed why containers should be paired with new architectural practices such as microservices rathe...
In his session at 20th Cloud Expo, Mike Johnston, an infrastructure engineer at Supergiant.io, will discuss how to use Kubernetes to setup a SaaS infrastructure for your business. Mike Johnston is an infrastructure engineer at Supergiant.io with over 12 years of experience designing, deploying, and maintaining server and workstation infrastructure at all scales. He has experience with brick and mortar data centers as well as cloud providers like Digital Ocean, Amazon Web Services, and Rackspace....
SYS-CON Events announced today the Kubernetes and Google Container Engine Workshop, being held November 3, 2016, in conjunction with @DevOpsSummit at 19th Cloud Expo at the Santa Clara Convention Center in Santa Clara, CA. This workshop led by Sebastian Scheele introduces participants to Kubernetes and Google Container Engine (GKE). Through a combination of instructor-led presentations, demonstrations, and hands-on labs, students learn the key concepts and practices for deploying and maintainin...
Docker is sweeping across startups and enterprises alike, changing the way we build and ship applications. It's the most prominent and widely known software container platform, and it's particularly useful for eliminating common challenges when collaborating on code (like the "it works on my machine" phenomenon that most devs know all too well). With Docker, you can run and manage apps side-by-side - in isolated containers - resulting in better compute density. It's something that many developer...
Modern software design has fundamentally changed how we manage applications, causing many to turn to containers as the new virtual machine for resource management. As container adoption grows beyond stateless applications to stateful workloads, the need for persistent storage is foundational - something customers routinely cite as a top pain point. In his session at @DevOpsSummit at 21st Cloud Expo, Bill Borsari, Head of Systems Engineering at Datera, explored how organizations can reap the bene...
As software becomes more and more complex, we, as software developers, have been splitting up our code into smaller and smaller components. This is also true for the environment in which we run our code: going from bare metal, to VMs to the modern-day Cloud Native world of containers, schedulers and micro services. While we have figured out how to run containerized applications in the cloud using schedulers, we've yet to come up with a good solution to bridge the gap between getting your contain...
In his general session at 19th Cloud Expo, Manish Dixit, VP of Product and Engineering at Dice, discussed how Dice leverages data insights and tools to help both tech professionals and recruiters better understand how skills relate to each other and which skills are in high demand using interactive visualizations and salary indicator tools to maximize earning potential. Manish Dixit is VP of Product and Engineering at Dice. As the leader of the Product, Engineering and Data Sciences team at D...
DevOps is speeding towards the IT world like a freight train and the hype around it is deafening. There is no reason to be afraid of this change as it is the natural reaction to the agile movement that revolutionized development just a few years ago. By definition, DevOps is the natural alignment of IT performance to business profitability. The relevance of this has yet to be quantified but it has been suggested that the route to the CEO’s chair will come from the IT leaders that successfully ma...
Skeuomorphism usually means retaining existing design cues in something new that doesn’t actually need them. However, the concept of skeuomorphism can be thought of as relating more broadly to applying existing patterns to new technologies that, in fact, cry out for new approaches. In his session at DevOps Summit, Gordon Haff, Senior Cloud Strategy Marketing and Evangelism Manager at Red Hat, will discuss why containers should be paired with new architectural practices such as microservices ra...