Documentation Home
> The WSIT Tutorial
The WSIT Tutorial
Book Information
Index
A
B
C
D
E
F
G
I
J
K
M
O
P
Q
R
S
T
U
V
W
X
Preface
Chapter 1 About The Examples
Required Software
Chapter 2 Introduction to WSIT
What is WSIT?
Bootstrapping and Configuration
Message Optimization Technology
Reliable Messaging Technology
Security Technology
How WSIT Relates to Windows Communication Foundation (WCF)
WSIT Specifications
Bootstrapping and Configuration Specifications
Message Optimization Specifications
Reliable Messaging Specifications
Security Specifications
How the WSIT Technologies Work
How Message Optimization Works
How Reliable Messaging Works
How Security Works
How Security Policy Works
How Trust Works
How Secure Conversation Works
Chapter 3 WSIT Example Using a Web Container and NetBeans IDE
Registering GlassFish with the IDE
To Register GlassFish with the IDE
Creating a Web Service
To Create the Web Service
Configuring WSIT Features in the Web Service
To Configure WSIT Features in the Web Service
Deploying and Testing a Web Service
To Deploy and Test a Web Service
Creating a Client to Consume a WSIT-Enabled Web Service
To Create a Client to Consume a WSIT-Enabled Web Service
Chapter 4 Bootstrapping and Configuration
What is a Server-Side Endpoint?
Creating a Client from WSDL
Client From WSDL Examples
Chapter 5 Message Optimization
Creating a Web Service
Configuring Message Optimization in a Web Service
To Configure Message Optimization in a Web Service
Deploying and Testing a Web Service with Message Optimization Enabled
To Deploy and Test a Web Service with Message Optimization Enabled
Creating a Client to Consume a WSIT-enabled Web Service
To Create a Client to Consume a WSIT-enabled Web Service
Message Optimization and Secure Conversation
Chapter 6 Using Reliable Messaging
Reliable Messaging Options
Creating Web Service Providers and Clients that use Reliable Messaging
Using Secure Conversation With Reliable Messaging
Chapter 7 Using WSIT Security
Configuring Security Using NetBeans IDE
To Secure the Service
To Secure the Client
Summary of Configuration Requirements
Summary of Service-Side Configuration Requirements
Summary of Client-Side Configuration Requirements
Configuring Username Authentication on the Client
To Configure Username Authentication on the Client
Example SAML Callback Handlers
Security Mechanisms
Username Authentication with Symmetric Keys
Mutual Certificates Security
Transport Security (SSL)
Transport Security (SSL) Workaround
Message Authentication over SSL
SAML Authorization over SSL
Endorsing Certificate
SAML Sender Vouches with Certificates
SAML Holder of Key
STS Issued Token
STS Issued Token with Service Certificate
STS Issued Endorsing Token
Configuring SSL and Authorized Users
Configuring SSL For Your Applications
To Configure SSL for Your Application
Adding Users to GlassFish
To Add Users to GlassFish Using the Admin Console
To Add Users to GlassFish From the Command Line
Configuring Keystores and Truststores
To Update GlassFish Certificates
Specifying Aliases with the Updated Stores
Configuring the Keystore and Truststore
To Configure the Keystore on a Service
To Configure the Truststore on a Service
To Configure the Keystore and Truststore on a Client
Configuring Validators
To Set Validator Configuration Options
Securing Operations and Messages
To Specify Security at the Operation, Input Message, or Output Message Level
Supporting Token Options
Configuring A Secure Token Service (STS)
To Create a Third-Party STS
To Specify an STS on the Service Side
To Specify an STS on the Client Side
Specifying an STS on the Client Side: Examples
STS Example 1: Endpoint with Metadata
STS Example 2: Endpoint with WSDL Location, Service Name, Port Name, and Namespace
Example Applications
Example: Username Authentication with Symmetric Keys (UA)
To Secure the Example Service Application (UA)
To Secure the Example Web Service Client Application (UA)
Example: Mutual Certificates Security (MCS)
To Secure the Example Service Application (MCS)
To Secure the Example Web Service Client Application (MCS)
Example: Transport Security (SSL)
To Secure the Example Service Application (SSL)
To Secure the Example Web Service Client Application (SSL)
Example: SAML Authorization over SSL (SA)
To Secure the Example Service Application (SA)
To Secure the Example Web Service Client Application (SA)
Example: SAML Sender Vouches with Certificates (SV)
To Secure the Example Service Application (SV)
To Secure the Example Web Service Client Application (SV)
Example: STS Issued Token (STS)
To Secure the Example Service Application (STS)
To Create and Secure the STS (STS)
To Secure the Example Web Service Client Application (STS)
Further Information
Chapter 8 WSIT Security Features: Advanced Topics
Using Security Mechanisms
Understanding WSIT Configuration Files
Service-Side WSIT Configuration Files
Client-Side WSIT Configuration Files
Security Mechanism Configuration Options
Chapter 9 WSIT Example Using a Web Container Without NetBeans IDE
Environment Configuration Settings
Setting the Web Container Listener Port
Setting the Web Container Home Directory
WSIT Configuration and WS-Policy Assertions
Creating a Web Service
Creating a Web Service From Java
Web Service Implementation Java File
wsit-package.service.xml File
Creating a Web Service From WSDL
WSDL File
Web Service Implementation File
Building and Deploying the Web Service
Building and Deploying a Web Service Created From Java
Building and Deploying a Web Service Created From WSDL
Deploying the Web Service to a Web Container
Deploying to GlassFish
Deploying to Apache Tomcat
Verifying Deployment
Creating a Web Service Client
Creating a Client from Java
Client Java File (fromjava)
Client Configuration File (fromjava)
Creating a Client from WSDL
Client Java File (fromwsdl)
Client Configuration File (fromwsdl)
Building and Deploying a Client
Running a Web Service Client
Undeploying a Web Service
Chapter 10 Accessing WSIT Services Using WCF Clients
Creating a WCF Client
Prerequisites to Creating the WCF Client
Examining the Client Class
Building and Running the Client
Generating the Proxy Class and Configuration File
To Build the AddNumbers Client
To Customize the build.bat File
To Run the AddNumbers Client
Chapter 11 Data Contracts
Web Service - Start from Java
Data Types
Primitives and Wrappers
BigDecimal Type
java.net.URI Type
Duration
Binary Types
XMLGregorianCalendar Type
UUID Type
Typed Variables
Collections Types
List of Nillable Elements
List of Optional Elements
List of Values
Array Types
Fields and Properties
@XmlElement Annotation
@XmlAttribute Annotation
@XmlElementRefs Annotation
Java Classes
@XmlType Annotation - Anonymous Type
@XmlType Annotation - xs:all
@XmlType Annotation - Simple Content
Open Content
Enum Type
Package-level Annotations
@XmlSchema Annotation
Not Recommended Annotations
Web Service - Start from WSDL
Java Client
Customizations for WCF Service WSDL
generateElementProperty Attribute
Default Binding
Customized Binding
mapSimpleTypeDef Attribute
Developing a Microsoft .NET Client
To Develop a Microsoft .NET Client
BP 1.1 Conformance
Chapter 12 Using Atomic Transactions
About the basicWSTX Example
Building, Deploying and Running the basicWSTX Example
To Build, Deploy, and Run the basicWSTX Example
© 2010, Oracle Corporation and/or its affiliates