Instructor-led training
Fast Track to SOA Java Web Services (JAX-WS) Training in Grand Haven, Michigan
Web services are designed to allow Web-based access to distributed software and business services.
What you'll learn
Private Training for Teams
This course is offered as private, instructor-led training for organizations, onsite in Grand Haven, Michigan or live online. Dates, delivery format, and course content are arranged around your team's requirements.
This course is not currently scheduled as a public class for individual enrollment.
Request Group TrainingPrerequisites
Course Outline
1. Service Oriented Architecture (SOA) and Web Services
SOA (Service Oriented Architecture) Overview
Web Services Overview / Relationship to SOA
Web services Architecture
SOAP and WSDL Overview
2. Introduction to Java Web Services
Java Web Services
JAX-WS and JSR-181
A Simple Service definition with @WebService
JSR-181
@WebService, Modifying the Generated Service
Other Annotations (@WebMethod, @SOAPBinding)
The SEI (Service Endpoint Interface
JAX-WS Capabilities
WSDL to Java Mapping
Capabilities (XML Messaging, Handlers, SOAP/HTTP, Client Programming
JAX-WS Clients
Programming Model, Generating Classes from WSDL
Writing a JAX-WS client
Dynamic Clients
3. WSDL – Web Services Description Language
XML Namespace and XML Schema Overview
Namespaces and Schema in WSDL Documents
WSDL Structure and Elements
A WSDL Document
SOAP 1.1 Binding for WSDL
4. SOAP
SOAP Overview
Message Structure
SOAP Faults, Attachments
SOAP Messaging and HTTP Binding
SOAP Styles and Encoding
5. SAAJ, DOM, and SOAP Handlers
SAAJ Overview, Message Structure and API
Creating/Sending Messages
DOM Overview
Fast Track to SOA and Java Web Services with JAX-WS
Fast Track to SOA and Web Services with JAX-WS Rev 2011.11.10
Using DOM with SAAJ
Soap Handlers
6. JAXB – Java Architecture for XML
Binding
Overview and Architecture
Generating Java Classes from XML
Schema
Customizing Generated Java
Generating XML Schema from
Annotated Java Classes
Web Services, WSDL, JAXB
7. Start from WSDL/Start from WSDL & Java
Starting from WSDL
Binding Customizations
Starting from WSDL and Java
8. XML-Based (Bare) Web Services
XML Messaging Overview
JAX-WS Providers
A SOAP Provider an Source Provider
XML Clients with Dispatch
XML/HTTP Messaging with Provider
Overview of REST and JAX-RS
9. Handling Binary Data
Overview and Issues
Default Handling
MTOM Overview
Using MTOM in Services and Clients
Using DataHandler
10. Security
Java EE Security / Role Based Security
Securing Web Services with BASIC
Authentication
Transport Security / HTTPS
WS-Security (WSS)
11. EJB-Based Web Services
EJB Overview
Session Beans
Programming EJB
Creating/Configuring EJB Based Web
Services
12. WS-* Overview
WS-Interoperability (WS-I)
The WS-I Basic Profile
WS-Addressing
13. Best Practices
Coarse Grained Web Services
Optimization and Caching
XML Handling
Interoperability
Top Down / Bottom Up
What makes SOAP web services hard to master
The Java annotations are the easy part. The harder part is that one service exists in several representations that must stay consistent: the Java classes, the WSDL contract, the XML Schema types and the SOAP messages on the wire. The syllabus builds up these layers in order.
- Contract first. After an overview of SOA and the web services architecture, the course covers XML namespaces and XML Schema inside WSDL documents, WSDL structure and elements, and the SOAP 1.1 binding. Many service errors are namespace or schema mismatches, not Java errors.
- SOAP itself. Message structure, faults, attachments, the HTTP binding, and SOAP styles and encoding. Style and encoding choices change the XML that clients see, so they affect interoperability.
- JAX-WS and JSR-181.
@WebService,@WebMethod,@SOAPBinding, the Service Endpoint Interface, WSDL-to-Java mapping, generated clients and dynamic clients. - Lower-level access. SAAJ, DOM and SOAP handlers for working with messages directly, and JAXB for generating classes from schema, generating schema from annotated classes, and customizing the result.
- Two directions. Starting from WSDL, starting from Java, and starting from both, with binding customizations. Provider and Dispatch APIs cover XML-based (bare) services.
- Cross-cutting concerns. MTOM and DataHandler for binary data, role-based and BASIC authentication, HTTPS, WS-Security, EJB-based services, WS-I Basic Profile and WS-Addressing.
Common misconceptions: that the generated WSDL is a stable contract (small Java changes can alter it), that fine-grained methods suit remote calls (the best-practices module argues for coarse-grained services), and that a service working with one client is interoperable.
Who this course suits and what to take around it
This is a 3-day introductory course for Java developers who already know XML. Both are stated prerequisites: you should be comfortable programming in Java and working with XML. No prior web services experience is assumed, and the course starts from SOA and web services architecture.
If your team also needs the architectural vocabulary behind the code, Introduction to Service Oriented Architecture covers SOA concepts at a business and design level, which this course treats only as an overview. After you can build services, SOA Architecture and Design Principles is a natural next step for deciding how to partition and govern them. Related SOA courses are listed on the SOA learning guide.
The course is taught as private training, onsite or live online. Organizations that need a specific Java or application server version can ask for the content to be tailored through a training proposal request.
Illustrative scenarios
The scenarios below are illustrations of how the course material can be applied. They are not descriptions of specific organizations or of the course's lab exercises.
- Exposing existing logic as a service. A team might wrap an existing Java component with
@WebService, review the generated WSDL, and tighten it with@WebMethodand@SOAPBinding. If the logic lives in session beans, the EJB-based services module applies. - Integrating with a partner's contract. A team handed a WSDL and schema might generate classes and a client, apply binding customizations, and use SOAP handlers to add logging or header processing. This follows the start-from-WSDL, JAXB and handler topics.
- Document transfer. A service that accepts scanned documents might use MTOM and
DataHandlerinstead of default encoding, and protect the endpoint with HTTPS and role-based security.
AI coding assistants with these topics
AI coding assistants are useful for boilerplate here: annotated endpoint classes, a basic JAX-WS client, JAXB-annotated beans and simple tests. They tend to fail where the details are in the XML.
- Namespaces and schema. Generated code often ignores target namespaces or produces a WSDL that does not match the contract a partner expects.
- Package and API mix-ups. Suggestions can mix package names or APIs from different Java EE and Jakarta EE generations, or from different SOAP stacks. Check them against your runtime.
- Binary data and security. MTOM settings, handler ordering and WS-Security configuration are often incomplete or wrong, and an assistant may suggest BASIC authentication without transport security.
- Faults and styles. Assistants often skip SOAP fault mapping and the effects of SOAP style choices.
To verify, regenerate the WSDL and diff it against the agreed contract. Validate sample messages against the schema. Call the service from a client generated by a different toolchain. Test security by sending unauthenticated and wrong-role requests. Review all generated code for injection and unsafe XML parsing.
Frequently asked questions
What level is this course and what do I need beforehand?
It is introductory to web services, but it requires Java programming experience and a good working knowledge of XML. No prior SOAP or WSDL experience is assumed.
What does the course cover?
SOA and web services architecture, JAX-WS and JSR-181 annotations, WSDL, SOAP, SAAJ and handlers, JAXB, starting from WSDL or Java, Provider and Dispatch APIs, MTOM, security including WS-Security, EJB-based services, WS-I and WS-Addressing, and best practices. REST and JAX-RS appear only as an overview. Participants build and deploy a web service during the course.
Can the course be delivered privately for our team?
Yes. HSG provides private training for organizations, either onsite at your location or live online.
Can the content be customized?
Private training can be tailored to the technology versions and tools your organization uses, and to your priorities among the topics. You can describe your needs in a training proposal request.
Training locations
Fast Track to SOA Java Web Services (JAX-WS) training across the U.S. and beyond.
We provide private Fast Track to SOA Java Web Services (JAX-WS) training for organizations, onsite at your location or live online, throughout the United States and internationally.
View all Fast Track to SOA Java Web Services (JAX-WS) training locations
Train your team with HSG
Private, instructor-led training customized for your organization.
- Onsite or live online delivery
- Customized curriculum
- For a single employee or an entire team
- Flexible scheduling
- Experienced instructors
Questions? Call us at 303.377.6176
or email info@hartmannsoftware.com
Ready to train your team?
Let's customize this training for your organization.
Tell us about your employees, your goals, and your preferred schedule. We'll prepare a training proposal covering scope, delivery format, and pricing.