The Java Web Services Tutorial for Java web Services Developer’s Pack v2.0

THE JavaTM Web Services Tutorial is a guide to developing Web applications with the Java Web Services Developer Pack (Java WSDP). The Java WSDP is an all-in-one download containing key technologies to simplify building of Web services using the Java 2 Platform.

More PDF Content

The Java Web Services Tutorial for Java web Services Developer\’s Pack v2.0
About This Tutorial

  • Who Should Use This Tutorial
  • Prerequisites
  • How to Use This Tutorial
  • Building the Examples
  • Further Information
  • How to Print This Tutorial
  • Typographical Conventions
  • Feedback

Binding XML Schema to Java Classes with JAXB

  • JAXB Architecture
    • Architectural Overview
    • The JAXB Binding Process
    • JAXB Binding Framework
    • More About javax.xml.bind
    • More About Unmarshalling
    • More About Marshalling
    • More About Validation
  • XML Schemas
  • Representing XML Content
    • Binding XML Names to Java Identifiers
    • Java Representation of XML Schema
  • Binding XML Schemas
    • Simple Type Definitions
    • Default Data Type Bindings
    • Default Binding Rules Summary
  • Customizing JAXB Bindings
    • Scope
    • Scope Inheritance
  • What is Not Supported
  • JAXB APIs and Tools

Using JAXB

  • General Usage Instructions
    • Description
    • Using the Examples
    • Configuring and Running the Samples
      • Solaris/Linux
      • Windows NT/2000/XP
    • JAXB Compiler Options
    • About the Schema-to-Java Bindings
    • Schema-Derived JAXB Classes
      • Comment.java
      • Items.java
      • ObjectFactory.java
      • PurchaseOrder.java
      • PurchaseOrderType.java
      • USAddress.java
  • Basic Examples
    • Unmarshal Read Example
      • Sample Output
    • Modify Marshal Example
      • Sample Output
    • Create Marshal Example
      • Sample Output
    • Unmarshal Validate Example
      • Sample Output
    • Validate-On-Demand Example
      • Sample Output
  • Customizing JAXB Bindings
    • Why Customize?
    • Customization Overview
      • Inline and External Customizations
      • Scope, Inheritance, and Precedence
      • Customization Syntax
      • Customization Namespace Prefix
    • Customize Inline Example
      • Customized Schema
      • Global Binding Declarations
      • Schema Binding Declarations
      • Class Binding Declarations
      • Property Binding Declarations
      • MyDatatypeConverter Class
    • Datatype Converter Example
    • External Customize Example
      • JAXB Version, Namespace, and Schema Attributes
      • Global and Schema Binding Declarations
      • Class Declarations
    • Fix Collides Example
      • The example.xsd Schema
      • Looking at the Conflicts
      • Output From ant fail
      • The binding.xjb Declarations File
      • Resolving the Conflicts in example.xsd
    • Bind Choice Example
      • Customizing a choice Model Group

Securing JAX-RPC Applications with XML and Web Services Security

  • Does XWS-Security Implement Any Specifications?
    • On Which Technologies Is XWS-Security Based?
  • What is the XWS-Security Framework?
    • Configuring Security Configuration Files
    • Understanding Security Configuration Files
    • XWS-Security Configuration File Schema
    • Semantics of Security Configuration File Elements
    • How Do I Specify the Security Configuration for the Build Files?
    • Are There Any Sample Applications Demonstrating XWS-Security?
  • Setting Up To Use XWS-Security With the Sample Applications
    • Setting System Properties
    • Configuring a JCE Provider
    • Setting Up the Application Server For the Examples
    • Keystore and Truststore Files with XWS- Security
    • Setting Build Properties
  • Understanding and Running the Simple Sample Application
    • Plugging in Security Configurations
    • Sample Security Configuration File Options
      • Dumping the Request and/or the Response
      • Encrypting the Request and/or the Response
      • Signing and Verifying the Signature
      • Signing then Encrypting the Request, Decrypting then Verifying the Signature
      • Encrypting then Signing the Request, Verifying then Decrypting the Signature
      • Signing a Ticket
      • Adding a Timestamp to a Signature
      • Symmetric Key Encryption
      • Adding a UserName Password Token
      • Encrypt Request Body and a UserNameToken
      • Adding a UserName Password Token, then Encrypting the UserName Token
      • Adding Security at the Method Level
    • Running the Simple Sample Application
  • Understanding and Running the JAAS- Sample Application
    • Understanding JAAS-Sample Security Configuration Files
    • Setting Up For the JAAS-Sample
    • Running the JAAS-Sample Application
  • Writing SecurityEnvironmentHandlers for XWS-Security Applications
    • Using the SubjectAccessor API
  • Useful XWS-Security Command-Line Tools
    • pkcs12import
    • keyexport
    • wscompile
  • Troubleshooting XWS-Security Applications
  • Further Information

Java XML Digital Signature API

  • How XWS-Security and XML Digital Signature API Are Related
  • XML Security Stack
  • Package Hierarchy
  • Service Providers
  • Introduction to XML Signatures
  • Example of an XML Signature
  • XML Digital Signature API Examples
    • validate Example
      • Validating an XML Signature
      • Instantiating the Document that Contains the Signature
      • Specifying the Signature Element to be Validated
      • Creating a Validation Context
      • Unmarshaling the XML Signature
      • Validating the XML Signature
      • What If the XML Signature Fails to Validate?
      • Using KeySelectors
    • genenveloped Example
      • Generating an XML Signature
      • Instantiating the Document to be Signed
      • Creating a Public Key Pair
      • Creating a Signing Context
      • Assembling the XML Signature
      • Generating the XML Signature
      • Printing or Displaying the Resulting Document

The Java WSDP Registry Server

  • Starting the Registry Server
    • Changing the Port for the Registry Server
  • Adding and Deleting Users
    • Adding a New User to the Registry
    • Deleting a User from the Registry
  • Further Information

Registry Browser

  • Starting the Browser
  • Querying a Registry
    • Querying by Name
    • Querying by Classification
  • Managing Registry Data
    • Adding an Organization
    • Adding Services to an Organization
    • Adding Service Bindings to a Service
    • Adding and Removing Classifications
    • Submitting the Data
  • Deleting an Organization
  • Stopping the Browser

XWS-Security Formal Schema Definition

  • Formal Schema Definition

Index

Download The Java Web Services Tutorial for Java web Services Developer's Pack v2.0 pdf from download.oracle.com, 220 pages, 1247.26KB.
Related Books

Leave a Reply