XML Web Services Course Overview

The Java Web Services class teaches students how to build Web Services and Web Service clients using Java technologies. The class includes a introduction to XML namespaces, XML Schema, SOAP, and WSDL before exploring Web service client or server-side development in Java APIs and tools. Specifically, this class focuses on JAX-WS.

XML Web Services Training Prerequisite

Students should have a good understanding of the Java programming language and a basic understanding of XML. Students that have attended Core Java and Advanced Java have the necessary background for this course.

XML Web Services Course Objective

Understand how Web services related to Service Oriented Architecture.

Become familiar with the pillar Web service specifications for XML, XML Schema, SOAP, WSDL and UDDI.

Pick up design patterns and best practices for Web service interface documents.

Experience the development of Java Web services using the JAX-WS API.

See how WSDL and Schema elements map to Java objects.

Recognize and understand the difference between RPC and Document styled services.

Learn how to make and test Web services that are highly interoperable

XML Web Services Course Duration

45 Working days, daily one and half hours

XML Web Services Training Content

XML

What is XML?

What is markup? (Markup = Tagging)

What are the similarities between HTML and XML?

Is XML is Replacement for HTML?

What are the differences between HTML and XML?

What is the purpose of XML?

What XML Does?

Who invented xml tags?

What is an XML document?

What is xml application?

XML Syntax

An example XML document:

All XML elements must have a closing tag

XML tags are case sensitive

All XML elements must be properly nested

All XML documents must have a root tag

Attribute values must always be quoted

Entity References

Comments in XML

White-space is Preserved in XML

What is a well-formed XML document?

What is an XML Element?

What are the XML Naming Rules?

What are the Best Naming Practices?

XML Attributes

XML Attributes Must be Quoted

Use of Elements vs. Attributes

Avoid using attributes? (I say yes!)

XML Attributes for Metadata

XML Documents Form a Tree Structure

How to view XML files?

How to develop an XML document?

How to check the well-formedness of XML document?

How to validate XML document?

What is an XML parser?

What are its functions?

What is DTD?

What are the constituents of DTD file? (Contains)

Elements

Attributes

Entities

PCDATA – Parsed Character Data

CDATA – (Unparsed) Character Data

DTD – Elements

Declaring an Element

Empty elements

Elements with data and children (sequences)

What is cardinality operator in DTD?

Declaring only one occurrence of the same element

Declaring minimum one occurrence of the same element

Declaring zero or more occurrences of the same element

Declaring zero or one occurrences of the same element

Declaring mixed content

DTD Attributes

Declaring Attributes

Attribute declaration example

Default attribute value

Implied attribute

Required attribute

Fixed attribute value

Enumerated attribute values

DTD Entities

Entities as variables used to define shortcuts to common text.

Entity references are references to entities.

Entities can be declared internal.

Entities can be declared external

How to associate a DTD with XML?

Inside an XML document

External reference.

What do you know about SYSTEM keyword in DOCTYPE declaration?

What are the limitations of DTD?

What is an XSD?

What XSD defines?

Compare and contrast DTDs and XSDs?

Data Types

Simple Types

Complex Types

How to give Default and Fixed Values to Simple Elements ? How to Define an Attribute? How to define fixed and default values to attributes? How to specify an attribute as optional/ required?