Home > Articles > Web Services > SOA

This chapter is from the book

A Closer Look at the DataPower Products

Now that you have a general idea what “SOA Appliances” are, and have some familiarity with the IBM offerings in this space and what they are used for, we will describe them in more detail.

Physical Characteristics of Appliances

As stated earlier, and demonstrated in Figure 1-1 appliances are “pizza-box,” rack-mountable 1U (1.75-inch thick) hardware devices. The only external interfaces are a power switch, 9-pin serial port, and four RJ-45 Ethernet ports. (Appliances with HSM will have a Pin Entry Device [PED] connector.)

Software Architecture of Appliances

As Figure 1-3 illustrates, the software architecture is simple from the user perspective. There is a customized, hardened, native-code operating system kernel that implements the appliance’s core functionality. The OS resides in firmware that can be updated by applying small firmware update files.

On top of this is a layer of functionality that is implemented in XSLT stylesheets, which are read-only and used by the system to implement certain functionality. We get into more detail in Chapter 2, “DataPower Quick Tour and Setup.”

The next layer up the software stack consists of configurations developed by the user; these are the application proxies and processing policies to process message traffic for your applications. Configuration files and application artifacts can reside in the directory structure on the file system or they can be hosted on remote servers and retrieved and cached at start-up time so that they do not ever reside on the appliance file system (a requirement in some highly secure environments).

Although the operating system itself and many of the appliances’ implementation details are custom and proprietary, outwardly, the appliances are built on a standards-based model. A few important ones are listed here. These are based on a single foundation, XML.

  • XML—A general purpose specification for creating other markup languages—and many are built upon it, such as MathML (a markup language to describe mathematics). It is a combination of data and metadata, consisting of tagged elements to not only show the data but to describe and delineate it; for example, <po_number>12345</po_number>.
  • XSD—A set of rules that an XML file must conform to. So if you want to define a purchase order XML file to use with your applications, you can create an XSD file to be used to validate those incoming purchase order XML files to ensure they have the proper structures.
  • SOAP—A message format used by Web services for sending and receiving XML-based messages. It is more sophisticated than “normal” XML in that its construct provides for a message header and body, among other things.
  • WSDL—A language for describing Web services. It defines the services, ports, bindings, and operations that constitute the Web service, along with the endpoint information (hosts, ports, URIs) and perhaps other metadata such as policy information.
  • XPath—XPath for XML is somewhat analogous to SQL for databases.6 XPath allows for searching and retrieving information (nodesets) from XML documents based on some criteria.
  • XSLT—An XML language for transforming XML documents from one format to another. If you want to transform a vendor’s XML purchase order format to your own company’s XML format, you can write a set of instructions in XSLT to do so.
  • EXSLT—A community extension to XSLT to provide a library for things like string manipulation, date/time functions, and other miscellaneous library functions.

Administrative Model

As part of the “secure by default” DataPower mantra, all remote administrative interfaces are shut down by default. The only way to enable them is by bootstrapping the appliance via the serial port. We show how to do this in Chapter 2. After you do this, you have several options for administrative interfaces. These are described in detail in Chapter 12 “Device Administration” and Chapter 13 “Alternate Management Interfaces,” but we give a brief overview in the following list:

  • Command-shell Admin—This can be accessed using telnet, secure-shell (SSH), or the serial port. The Command Line Interface (CLI) is an IOS-like interface, which will be familiar to many network administrators. In the most ultra-secure environments, all remote administrative interfaces are disabled, forcing all administration to be done only by those with physical access to the appliances in the datacenter. For security purposes, telnet normally remains disabled.
  • XML Management Interface—The XML Management interface provides a way to administer the appliance and obtain status information via XML-based SOAP requests. There are several different specifications that can be used, including DataPower’s own SOAP Configuration Management,7 WS-Management, and WSDM. This interface is commonly used for automated, programmatic, or custom approaches to administration.
  • WebGUI Admin Console—This is a standard browser-based administrative interface. It is the most commonly used way to administer the appliances. However, in some high security or production environments, browser-based administration is not permitted and is allowed only in development environments as a convenience for developers. You can see in Figure 1-7 that the WebGUI is well laid out, attractive, and intuitive.8
Figure 1-7

Figure 1-7 DataPower Web Admin console.

The administrative WebGUI is not only used for administering the appliance, it is also used to create the application proxies that are the raison d’être (justification for existence) for the product. You can use the drag-and-drop capabilities of the Processing Policy editor to create work-flow type rules for requests and responses, to carry out various actions as traffic flows through the device. Figure 1-8 shows the simplicity of dragging an Encrypt Action from the upper palette row of actions to the processing rule to encrypt a message as it passes through to its destination. From here, only the certificate to be used for the encryption needs to be identified, although there are many other advanced options that can be chosen, such as the encryption algorithm to use. Compare the ease of this to creating policies to encrypt a message on other platforms (and then factor in the performance difference). Notice in this figure that the other types of actions can be just as easily applied for tasks such as message filtering, creating or validation digital signatures, transforming messages, dynamic routing, and AAA. The Advanced Action contains a great deal more.

Figure 1-8

Figure 1-8 Drag-and-drop policy editor.

Often, the browser-based console is used only in development environments for easily building proxies, and from there, automated, scripted processes are used to deploy these configurations to test, QA and production environments, leveraging either the command-line, or SOAP-based administrative interfaces. These techniques are described in Chapter 15, “Build and Deploy Techniques.”

Programming Model

As shown in the previous section, most of the work in configuring the appliances is done using the friendly drag-and-drop paradigm of the Processing Policy editor. For any customized scenarios not covered by the GUI, the devices can be programmed.

As the appliance is XML-centric, the custom programming model for DataPower is XSLT, which is a full Turing-complete programming language. Any custom programming is done in this language.

XPath is an important technology for these XML-centric products. Aside from custom programming done in XSLT, XPath expressions are used frequently in building configurations using the WebGUI. For example, if you are building a policy to sign and/or encrypt selected nodesets in an XML or SOAP document, you simply provide DataPower an XPath expression so that it can locate those nodesets. For nonprogrammer types, the DataPower WebGUI provides an easy-to-use XPath tool that enables you to load a sample document and click on the element or nodeset, and the XPath statement is generated for you.

The DataPower appliances offer much more than what standard XSLT and EXSLT have in their libraries. The appliances support crypto operations and many different protocols that are outside the domain of XSLT and EXSLT. To provide for custom programming that leverages the full scope of functionality on the appliances, they include a complete library of extension functions and elements that can be used for XSLT custom programming. These are covered in the chapters in Part VI, “DataPower Development.”

Of course, all the power of XML, SOAP, and many of the WS-* specifications/standards are available on the appliance. Some of the key WS- specifications are

  • WS-Security—A specification to enable message integrity, message privacy, and non-repudiation,9 typically using digital signatures and encryption.
  • WS-Addressing—A specification to enable Web services to communicate endpoint and addressing information between themselves.
  • WS-Policy—A specification that allows Web services to advertise and enforce policies for things like security and quality of service.
  • WS-ReliableMessaging—A specification that enables Web services to reliably transmit SOAP messages, even when there are problems in the infrastructure that would otherwise lead to failure.

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020