Login to TLCC site
Contact TLCC



IBM Ready for Social Business graphic

Using XML and Web Services for Domino 7Print Course Information
This course will introduce the Domino Developer to XML and web services. The basics of XML are covered including terms such as "well-formed" and "valid." Next, learn how to incorporate XML into Domino Applications using standard design elements such as agents, forms, pages and views. Both LotusScript and Java will be used to parse and import XML data into Domino applications. Learn how to use XLST style sheets to transform XML data in Domino agents. The Domino XML Language (DXL) is used to both export and import Domino data and design elements. Finally, an extensive series of lessons will teach you how to use Domino 7 to make available web services (using both LotusScript and Java) on a Domino server for use by any web services client. The use of Java to consume web services (as a client) will also be covered in this course. The course makes use of either Eclipse or Rational Application Developer 7 as an application development platform in addition to Domino Designer 7.
System Requirements and Prerequisites

The system requirements for this course are:

  • Notes 7 client
  • Domino Designer 7 client
  • A current web browser client
  • Either Eclipse 3.2 or Rational Application Developer 7 is required to test the web services. (Eclipse is a free download.)
  • Access to the Internet for instructor support

Experience as a Domino Developer is required along with experience using LotusScript and Java in Domino.

The following TLCC courses (or their equivalent) are the suggested prerequisite(s) for this course:
Course Code: 7XMLWS
Units: 12
Duration: 3 classroom equivalent days
Discussion Access: 4 months1

1. Up to 12 months access when purchased as part of a Curriculum Package.

Summary Description

This course will introduce the Domino Developer to XML and web services. The basics of XML are covered including terms such as "well-formed" and "valid." Next, learn how to incorporate XML into Domino Applications using standard design elements such as agents, forms, pages and views. Both LotusScript and Java will be used to parse and import XML data into Domino applications. Learn how to use XLST style sheets to transform XML data in Domino agents. The Domino XML Language (DXL) is used to both export and import Domino data and design elements. Finally, an extensive series of lessons will teach you how to use Domino 7 to make available web services (using both LotusScript and Java) on a Domino server for use by any web services client. The use of Java to consume web services (as a client) will also be covered in this course. The course makes use of either Eclipse or Rational Application Developer 7 as an application development platform in addition to Domino Designer 7.

This course will prepare you for the Exam 756: Using Web Services in IBM Lotus Domino 7 Applications certification exam. Pass this exam to become an IBM Certified Advanced Application Developer - Lotus Notes and Domino 7.

Audience and Prerequisites

Experienced Notes Domino 7 developers who want to learn how to use XML and Web Services in Notes and Domino applications. Experience developing LotusScript and Java agents in Domino is required.

The following TLCC courses (or their equivalent) are prerequisite for this course:

  • Notes Domino 7 Application Development 1
  • Beginner LotusScript for Notes Domino 7
  • Beginner Java Programming for Notes Domino 7

System Requirements

A Domino Designer 7 client and a current browser are required to take this course. Access to the Internet is required to get instructor support.

Either Eclipse 3.2 (available as a free download) or IBM Rational Application Developer 7 is required to test the web services.

Course Modules

Module 1 - Introduction to XML


This module introduces the structuring of an XML document. You will learn the syntax rules for creating well-formed XML documents. You will write an XML DTD to validate well-formed XML documents using an XML parser. You will also learn how to apply XSLT and CSS stylesheets to your XML documents.
  • Understand the structure of XML data and how it can be used.
  • Learn how XML data can be used in Domino applications.
  • Learn XML syntax.
  • Learn how to create well-formed XML documents.
  • Learn how to validate XML documents.
  • Learn how to format XML documents using CSS stylesheets.
  • Learn how to transform XML documents using XSLT stylesheets.
Module 2 - Producing XML from Forms and Pages
In this module you learn how to create an XML document from a Notes document using field formulas and form design techniques. You also learn techniques to support XML applications using page design elements.
  • Learn how to create an XML document from a Notes document using a field formula.
  • Learn how to create an XML document from a Notes document using a form design.
  • Learn techniques to support XML applications using page design elements.
Module 3 - Producing XML from Views
This module will show you how Domino views can be designed to display documents as well-formed XML data.
  • Learn how to design a view to convert data from Notes documents to XML.
  • Learn how to convert data from Notes documents to XML using a single-column view.
  • Use the ?ReadViewEntries Domino URL command to convert the entries in a view to XML.
Module 4 - Producing XML from Agents and Servlets
In this module you learn how to create LotusScript and Java agents to parse, transform, export, and import XML data in Domino applications.
  • Create a LotusScript agent that produces XML from a Notes document.
  • Create a LotusScript agent that produces XML from a Notes document collection.
  • Create a Java agent that produces XML from a Notes document.
  • Create a Java agent that produces XML from a Notes document collection.
  • Enable Java servlet support on a Domino server.
Module 5 - XML in Domino Applications
This module reviews the main XML techniques for Domino applications, importing and exporting. You work with a Domino application that imports Notes documents from an external XML source and exports Notes documents as XML.
  • Learn about the XML properties and methods available in the Domino Classes for LotusScript and Java.
  • Create LotusScript and Java agents to test if XML data is well-formed and valid.
  • Parse XML data using the Document Object Model (DOM) and Simple API for XML (SAX).
  • Create a Java agent to import XML data to create Notes documents.
  • Import XML data into a Domino application.
  • Export XML data from a Domino application.
  • Create a Java agent to transform XML documents with an XSLT stylesheet.
Module 6 - Domino XML Language (DXL)
This module introduces the Domino Extension Language (DXL) and how it can be used to export and import Domino data and design elements.
  • Learn what the Domino Extension Language (DXL) is.
  • Review the programmatic APIs for working with DXL via Java and LotusScript.
  • Understand the tools for exporting DXL from the Domino Designer client.
  • Export DXL programmatically.
  • Import DXL programmatically.
Module 7 - Web Services in Domino
Domino 7 has support for web services. Prior versions of Domino could support web services but the developer had to program an agent that parsed the SOAP request and created the XML for the SOAP response. The developer also had to manually create and maintain the WSDL file. Now Domino 7 has a new design element for web services that automates the parsing of the SOAP request and creates the SOAP response file. The WSDL file is also created automatically. This module will cover what web services are, the definitions used in web services, and how to create web services using LotusScript.
  • Learn what web services are.
  • Understand what a WSDL file does.
  • Learn what SOAP is and how it uses XML.
  • Understand the UDDI registry.
  • Learn about SOAP Responses and SOAP Requests.
  • Create LotusScript web services using simple datatypes for input and output.
  • Create LotusScript web services that return complex data types and arrays.
  • Understand error handling in web services and how to generate faults.
Module 8 - Java Web Services
Domino 7 has support for web services. Prior versions of Domino could support web services but the developer had to program an agent that parsed the SOAP request and created the XML for the SOAP response. The developer also had to manually create and maintain the WSDL file. Now Domino 7 has a new design element for web services that automates the parsing of the SOAP request and creates the SOAP response file. The WSDL file is also created automatically. This module will cover how to create web services using Java.
  • Create Java web services using simple datatypes for input and output.
  • Create Java web services that return complex data types and arrays.
  • Understand error handling in Java web services and how to generate faults.
Module 9 - Web Service Clients
Domino 7 does not include any native capability to consume web services. Consuming web services requires sending and receiving data (formatted as SOAP) to a listening web service. This module will teach you how to generate web service client code in Eclipse or Rational Developer and then deploy that code as agents in Domino Designer.
  • Understand what web service clients are.
  • Learn how to consume a web service from the Web Service Explorer in Eclipse or Rational Developer.
  • Learn how to create web service client code in Eclipse or Rational Developer using the built in wizards.
  • Create agents in Domino Designer that use the web service client code generated in Eclipse or Rational Developer.