Web Services
Web Services : IT Training : Scope n Overview
Web Services Training
- 1 XML Web Services Course Overview
- 1.1 XML Web Services Training Prerequisite
- 1.2 XML Web Services Course Objective
- 1.3 XML Web Services Course Duration
- 2 XML Web Services Training Content
- 2.1 XML
- 2.1.1 XML Syntax
- 2.1.2 What is a well-formed XML document?
- 2.1.3 What is an XML Element?
- 2.1.4 What are the XML Naming Rules?
- 2.1.5 What are the Best Naming Practices?
- 2.1.6 How to view XML files?
- 2.1.7 How to develop an XML document?
- 2.1.8 How to check the well-formedness of XML document?
- 2.1.9 How to validate XML document?
- 2.1.10 What is an XML parser?
- 2.1.11 What are its functions?
- 2.1.12 What is DTD?
- 2.1.13 What are the constituents of DTD file? (Contains)
- 2.1.14 DTD – Elements
- 2.1.15 What is cardinality operator in DTD?
- 2.1.16 DTD Attributes
- 2.1.17 DTD Entities
- 2.1.18 How to associate a DTD with XML?
- 2.1.19 What do you know about SYSTEM keyword in DOCTYPE declaration?
- 2.1.20 What are the limitations of DTD?
- 2.1.21 What is an XSD?
- 2.1.22 What XSD defines?
- 2.1.23 Compare and contrast DTDs and XSDs?
- 2.1.24 Data Types
- 2.1.25 XSD Restrictions/Facets
- 2.1.26 Non Atomic Types
- 2.1.27 Complex Types
- 2.1.28 Empty Elements
- 2.1.29 Indicators
- 2.2 Web services
- 2.2.1 Web services Introduction and Architecture
- 2.2.2 Web Services Development Parameters
- 2.2.3 Communication in distribute technology
- 2.2.4 SOAP
- 2.2.5 WSDL
- 2.2.6 Soap UI
- 2.2.7 TCP IP Monitor
- 2.2.8 JAX-RPC, JAX-RPC-SI Web Service Development
- 2.2.9 JAX-RPC, Axis Web Service Development
- 2.2.10 JAX-RPC Handlers
- 2.2.11 JAX-WS
- 2.2.12 JAX-WS, Metro Web Service Development
- 2.2.13 JAX-WS, Axis2 Web Service Development
- 2.2.14 JAX-RS
- 2.2.15 JAX-RS, Jersey Web Service Development
- 2.2.16 JAX-RS, REST Easy Web Service Development
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?
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
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
- Http client
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
Post a Comment