Web Services

Web Services : IT Training : Scope n Overview






Web Services Training



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?

XSD Restrictions/Facets

  • Restrictions on Values
  • Restrictions on a Set of Values
  • Restrictions on a Series of Values
  • Number of Digits
  • Restrictions on Whitespace Characters
  • Restrictions on Length
  • Restrictions for Datatypes

Non Atomic Types

  • Lists
  • Unions

Complex Types

  • Elements with attributes
  • Elements with sub elements
  • Elements with attributes and  text
  • Elements with sub elements and text

Empty Elements

Indicators

Order Indicators
  • All
  • Choice
  • Sequence
Occurrence Indicators
  • maxOccurs
  • minOccurs
Group Indicators
  • Group name
  • attributeGroup name
Annotating XML Schemas
XML Namespaces
Refer a Schema in an XML Document
Import/include Schemas

Web services

Web services Introduction and Architecture

Web Services Development Parameters

  • Specification
  • API
  • Implementation
  • Approach
  • MEP
  • MEF

Communication in distribute technology

  • Stub
  • Skeleton

SOAP

WSDL

Soap UI

TCP IP Monitor

JAX-RPC, JAX-RPC-SI Web Service Development

  • Service development
  • Contract first approach
  • Contract last approach
  • Client development
  • Stub-based
  • Dynamic-proxy based
  • Dynamic-Invocation-Interface
  • Development using command line tools
  • Development using IDE support

JAX-RPC, Axis Web Service Development

  • Service Development
    • Contract first approach
    • Contract last approach
    • Client Development
    • Development using command line tools
    • Development using IDE support

JAX-RPC Handlers

  • Applying Handlers to Service
  • Applying Handlers to Client
  • Tracking Input, Output SOAP message

JAX-WS

  • Introduction
  • Differences between JAX-RPC and JAX-WS
  • Architecture

JAX-WS, Metro Web Service Development

  • Service Development
    • Contract first approach
    • Contract last approach
    • Client development
      • Stub based client
      • Dynamic proxy based client
      • Annotation based client
      • Development using command line tools
      • Development using IDE tools
      • Handlers
        • Attach handlers at client side handler
        • Attach handlers at server side handler
        • Track soap message using handlers
        • Adding soap headers
        • Adding http headers
        • Developing secured web services
        • Web service development using stand alone server

JAX-WS, Axis2 Web Service Development

  • Service development
  • Client development

JAX-RS

  • Introduction
  • Differences among JAX-RPC, JAX-WS and JAX-RS

JAX-RS, Jersey Web Service Development

  • Service Development
    • HTML
    • XML
    • JSON
    • Plain text
    • Images
    • Downloads
    • Uploads
  • Client Development
    • Http client
      • GET
      • POST
  • Jersey Client
    • GET
    • POST
    • Handlers for restful services
    • Exception Handlers in restful services

JAX-RS, REST Easy Web Service Development

  • Service development
  • Client development

Comments

Popular posts from this blog

SAP NWA: Net Weaver Administration Tool

Advanced JAVA

SAP BASIS SPOOLING : Printing problems and general issues