Welcome!

Microservices Expo Authors: Yeshim Deniz, Pat Romanski, Todd Matters, Mark Leake, Stefana Muller

Related Topics: Microservices Expo

Microservices Expo: Article

Where Are Web Services Going?

Where Are Web Services Going?

Web Services is a term that is being used to define a set of technologies that exposes business functionality over the Web as a set of automated interfaces. These automated interfaces allow businesses to discover and bind to interfaces at run-time, supposedly minimizing the amount of static preparation that is needed by other integration technologies. The question is, "Do Web Services solve the business problem they propose to solve?"

The business problem in the case of Web Services is the integration of extranet services into larger applications. My belief is that Web Services do not offer any great advancement forward in solving extranet integration, which I hope to illustrate throughout this article. Let's start by further identifying the business problem and the components of Web Services that serve as a solution.

The first part of the business problem is discovering the available services that have been exposed by a particular organization. These services may be transactional, informational, or visual. A transactional service allows the user of the service to invoke a transaction, such as ordering a new computer system. An informational service allows users to query information, such as the status of an already placed order or to request product documentation. A visual service will respond by providing data that is designed for visual display, such as in a Web browser.

The business problem is defined as two-parts: (1) how can we locate and identify a service for use, and (2) once found, how can we incorporate that service as part of a larger extranet application. It is important to recognize that this is about extranet applications here. Web Services is a powerful, but potentially heavyweight, service that may fill the needs of an extremely large population, but might be excessive for intranet integration purposes.

Allow me to further clarify this point. There are those who confuse the entire Web Services architecture with the portion of Web Services that satisfies the second part of the business problem (described by #2 above). Indeed, there is a need to leverage and use services in a loosely coupled manner for intranet application integration as well as for extranet applications, but there are more lightweight technologies that are available to assist in these endeavors. We will cover this further in the section on "Leveraging Web Services."

For now, we can identify the problem as attempting to incorporate existing extranet services into internal business processes for the purpose of automation and increased communications.

How To Discover A Service
To discover these types of services, a group of companies, led by Microsoft, Ariba, and IBM, created the Universal Description, Discovery, and Integration (UDDI) specification. This specification forms the basis of a registry that is designed to store service profiles by organization, and contains all the necessary information required to understand the intent and invoke a particular service. Note that not all of this information is intended for machine-to-machine communications. A service interface might be represented by a telephone number as well as by a TCP/IP port.

The UDDI specification focuses on the storage, organization, and architecture of the registry service, and not on the usage of the information that is contained within. UDDI leverages the Simple Object Access Protocol (SOAP) to define interfaces for publishing and inquiring about the information in the UDDI repository.

Leveraging Web Services
Initially, some human intervention will probably be required to locate and identify a Web service. This will probably occur during the design phase of a new or modified business process. This Web service will then be incorporated into an application that extends across the firewall during one or more steps of the business process to retrieve information associated with that process.

For example, an automobile manufacturer may want to automate their supply chain by extending across the Internet and retrieving order and inventory status from a supplier. This will probably take place as part of a larger planning process that also leverages information from internal ERP and other operational systems.

The next set of technologies that assists with this type of initiative will help companies with binding and executing remote services in an automated fashion. Again, this is where some confusion occurs regarding the purpose of the binding technology. In the case of Web Services, there is an accepted specification called Web Service Description Language (WSDL) that is an XML document that defines the inputs and outputs of a Web service, including the XML Schemas that should be used to create the input and output documents.

Each WSDL document contains both an abstract definition of the service and how that service binds to a particular network im-plementation and data format bindings. The following example is from the WSDL specification and defines two messages that will be used to create a virtual port and how that port binds to an HTTP/SOAP implementation.

<message name="GetLastTradePriceInput">
<part name="body" element="xsd1:TradePrice"/>
</message>

<message name="GetLastTradePriceOutput">
<part name="body" element="xsd1:TradePriceResult"/>
</message>

GetLastTradePriceInput and GetLastTrade PriceOutput each describe a message whose body consists of either TradePrice or TradePriceResult document types.
<portType name="StockQuotePortType">
<operation name="GetLastTradePrice">
<input message="tns:GetLastTradePriceInput"/>
<output message="tns:GetLastTradePriceOutput"/>
</operation>
</portType>
In the above section, portType defines a virtual port that creates an interface called StockQuotePortType with an operation called GetLastTradePrice. GetLastTradePrice is analogous to a method on the StockQuote PortType interface for those familiar with this type of terminology. It also defines that the input to this method is a GetLastTrade PriceInput and the output is returned as GetLastTradePriceOutput.

The binding section in Listing 1 physically links the interface and the method described earlier to a specific implementation. In this case, the binding states that the service is implemented on the URL specified by the soapAction attribute of the soap:operation element and that it returns a SOAP message with a body conforming to the stockquote XML Schema.

This section of the WSDL document is critical for users of the service to understand as it tells them how to create the SOAP message for delivery. Other such bindings exist for HTTP GET/POST and MIME.

<service name="StockQuoteService">
<documentation>My first service</documentation>
<port name="StockQuotePort" binding="tns:StockQuoteBinding">
<soap:address location="http://example.com/stockquote"/>
</port>
</service>
Finally, we name the service StockQuote Service, which links it to the SOAP binding and the abstract definition of the StockQuotePort. Users of this service will send their SOAP messages to the URL defined by the soap:address element. By definition then we can tell that there are multiple URLs used to implement this service. The external service definition is identified by the service element and the internal service implementation is identified by the binding element.

In the above example, a significant portion of the specification is dedicated to late binding efforts that allow a service definition to be connected to many different implementations. While this could be used for the purposes of intranet application integration, there are many more assumptions that can be made about the environment in which that type of integration is being performed. For example, it may prove more advantageous to use IBM's MQ Series to connect two disparate applications and to use a SOAP message between them to provide the loose coupling desired without inheriting all of the overhead of the multiple layers discussed here, which are necessary for extranet binding to occur.

Where Is This Leading?
It is my belief that XML is so flexible and can be so easily molded to fit any problem space that it has led to people using XML in scenarios where it is actually debilitating to the application instead of an enhancement. I call this illogical need of engineers to use XML without solid reasoning the "Not Invented For XML" (NIFX) syndrome-a derivation of the well-known Not Invented Here (NIH) syndrome. Web Services in total is one example of NIFX.

Web Services, like many other extranet integration technologies, still suffers from many of the same hurdles as its predecessors, namely CORBA, DCOM, Java RMI, or DCE. XML does provide a more flexible data serialization mechanism to use in tandem with an extranet integration, but adds a new dimension of complexity to the overall application. For example, there are now multiple layers of parsing and unmarshaling that must occur before the actual implementation is invoked. Also, it is as strongly tied to the need for standardization of data formats as any of the preexisting extranet integration technologies.

Additionally, Web Services does not provide solutions for any unanswered questions business executives might have with regard to exposing functionality to its trading partners. Indeed, many of the functions that businesses have chosen to expose they already do or could have with existing Web application technologies, such as HTTP, HTML, and servlets/Active Server Pages. Also, the security model surrounding Web Services needs time to mature as we continue to find holes in Internet security implementations on a monthly basis. And, WSDL is simply a new incarnation of the Interface Definition Language (IDL) that was used by Microsoft's DCOM and CORBA.

Web Services does offer an alternative to invoking publicly exposed functionality. That is, users are no longer tied to "scraping" ever-changing HTML forms in order to integrate over the Web, but still gain the benefit of a document metaphor for integration over a pure application programming interface. However, the downside risk is that users are now susceptible to XML Schema versioning the development of XML document handlers for the return values.

Web Services will become prevalent because anything XML is perceived by business to be simpler to use and to write applications to process - not because it is a major improvement over other extranet integration technologies. It is my belief that the industry would have been better served by focusing on using XML as a serialization format between disparate existing extranet integration technologies, thus leveraging the maturity of those solutions while minimizing the disparities between them.

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 (1) View Comments

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.


Most Recent Comments
Shauna Davies 01/15/02 06:41:00 PM EST

I would like to know how to go about ordering and extra copy of Volume 1 Issue 3. My boss Karyn Haaland is very interested in obtaiing an additional copy.

Please let me know the propers channels I would need to go through.

Thanks!

@MicroservicesExpo Stories
Cloud Expo, Inc. has announced today that Andi Mann and Aruna Ravichandran have been named Co-Chairs of @DevOpsSummit at Cloud Expo Silicon Valley which will take place Oct. 31-Nov. 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. "DevOps is at the intersection of technology and business-optimizing tools, organizations and processes to bring measurable improvements in productivity and profitability," said Aruna Ravichandran, vice president, DevOps product and solutions marketing...
"When we talk about cloud without compromise what we're talking about is that when people think about 'I need the flexibility of the cloud' - it's the ability to create applications and run them in a cloud environment that's far more flexible,” explained Matthew Finnie, CTO of Interoute, in this SYS-CON.tv interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
For most organizations, the move to hybrid cloud is now a question of when, not if. Fully 82% of enterprises plan to have a hybrid cloud strategy this year, according to Infoholic Research. The worldwide hybrid cloud computing market is expected to grow about 34% annually over the next five years, reaching $241.13 billion by 2022. Companies are embracing hybrid cloud because of the many advantages it offers compared to relying on a single provider for all of their cloud needs. Hybrid offers bala...
A common misconception about the cloud is that one size fits all. Companies expecting to run all of their operations using one cloud solution or service must realize that doing so is akin to forcing the totality of their business functionality into a straightjacket. Unlocking the full potential of the cloud means embracing the multi-cloud future where businesses use their own cloud, and/or clouds from different vendors, to support separate functions or product groups. There is no single cloud so...
Containers, microservices and DevOps are all the rage lately. You can read about how great they are and how they’ll change your life and the industry everywhere. So naturally when we started a new company and were deciding how to architect our app, we went with microservices, containers and DevOps. About now you’re expecting a story of how everything went so smoothly, we’re now pushing out code ten times a day, but the reality is quite different.
"We are a monitoring company. We work with Salesforce, BBC, and quite a few other big logos. We basically provide monitoring for them, structure for their cloud services and we fit into the DevOps world" explained David Gildeh, Co-founder and CEO of Outlyer, in this SYS-CON.tv interview at DevOps Summit at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
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...
If you cannot explicitly articulate how investing in a new technology, changing the approach or re-engineering the business process will help you achieve your customer-centric vision of the future in direct and measurable ways, you probably shouldn’t be doing it. At Intellyx, we spend a lot of time talking to technology vendors. In our conversations, we explore emerging new technologies that are either disrupting the way enterprise organizations work or that help enable those organizations to ...
In 2014, Amazon announced a new form of compute called Lambda. We didn't know it at the time, but this represented a fundamental shift in what we expect from cloud computing. Now, all of the major cloud computing vendors want to take part in this disruptive technology. In his session at 20th Cloud Expo, Doug Vanderweide, an instructor at Linux Academy, discussed why major players like AWS, Microsoft Azure, IBM Bluemix, and Google Cloud Platform are all trying to sidestep VMs and containers wit...
The taxi industry never saw Uber coming. Startups are a threat to incumbents like never before, and a major enabler for startups is that they are instantly “cloud ready.” If innovation moves at the pace of IT, then your company is in trouble. Why? Because your data center will not keep up with frenetic pace AWS, Microsoft and Google are rolling out new capabilities. In his session at 20th Cloud Expo, Don Browning, VP of Cloud Architecture at Turner, posited that disruption is inevitable for comp...
For organizations that have amassed large sums of software complexity, taking a microservices approach is the first step toward DevOps and continuous improvement / development. Integrating system-level analysis with microservices makes it easier to change and add functionality to applications at any time without the increase of risk. Before you start big transformation projects or a cloud migration, make sure these changes won’t take down your entire organization.
There's a lot to gain from cloud computing, but success requires a thoughtful and enterprise focused approach. Cloud computing decouples data and information from the infrastructure on which it lies. A process that is a LOT more involved than dragging some folders from your desktop to a shared drive. Cloud computing as a mission transformation activity, not a technological one. As an organization moves from local information hosting to the cloud, one of the most important challenges is addressi...
What's the role of an IT self-service portal when you get to continuous delivery and Infrastructure as Code? This general session showed how to create the continuous delivery culture and eight accelerators for leading the change. Don Demcsak is a DevOps and Cloud Native Modernization Principal for Dell EMC based out of New Jersey. He is a former, long time, Microsoft Most Valuable Professional, specializing in building and architecting Application Delivery Pipelines for hybrid legacy, and cloud ...
Companies have always been concerned that traditional enterprise software is slow and complex to install, often disrupting critical and time-sensitive operations during roll-out. With the growing need to integrate new digital technologies into the enterprise to transform business processes, this concern has become even more pressing. A 2016 Panorama Consulting Solutions study revealed that enterprise resource planning (ERP) projects took an average of 21 months to install, with 57 percent of t...
Microservices are increasingly used in the development world as developers work to create larger, more complex applications that are better developed and managed as a combination of smaller services that work cohesively together for larger, application-wide functionality. Tools such as Service Fabric are rising to meet the need to think about and build apps using a piece-by-piece methodology that is, frankly, less mind-boggling than considering the whole of the application at once. Today, we'll ...
In his session at Cloud Expo, Alan Winters, an entertainment executive/TV producer turned serial entrepreneur, presented a success story of an entrepreneur who has both suffered through and benefited from offshore development across multiple businesses: The smart choice, or how to select the right offshore development partner Warning signs, or how to minimize chances of making the wrong choice Collaboration, or how to establish the most effective work processes Budget control, or how to ma...
Hybrid IT is today’s reality, and while its implementation may seem daunting at times, more and more organizations are migrating to the cloud. In fact, according to SolarWinds 2017 IT Trends Index: Portrait of a Hybrid IT Organization 95 percent of organizations have migrated crucial applications to the cloud in the past year. As such, it’s in every IT professional’s best interest to know what to expect.
Both SaaS vendors and SaaS buyers are going “all-in” to hyperscale IaaS platforms such as AWS, which is disrupting the SaaS value proposition. Why should the enterprise SaaS consumer pay for the SaaS service if their data is resident in adjacent AWS S3 buckets? If both SaaS sellers and buyers are using the same cloud tools, automation and pay-per-transaction model offered by IaaS platforms, then why not host the “shrink-wrapped” software in the customers’ cloud? Further, serverless computing, cl...
In the decade following his article, cloud computing further cemented Carr’s perspective. Compute, storage, and network resources have become simple utilities, available at the proverbial turn of the faucet. The value they provide is immense, but the cloud playing field is amazingly level. Carr’s quote above presaged the cloud to a T. Today, however, we’re in the digital era. Mark Andreesen’s ‘software is eating the world’ prognostication is coming to pass, as enterprises realize they must be...
Colocation is a central pillar of modern enterprise infrastructure planning because it provides greater control, insight, and performance than managed platforms. In spite of the inexorable rise of the cloud, most businesses with extensive IT hardware requirements choose to host their infrastructure in colocation data centers. According to a recent IDC survey, more than half of the businesses questioned use colocation services, and the number is even higher among established businesses and busin...