Preferred method of contact:

Building REST and SOAP Web Services with Java



Course Number



4 Days

PDF Add to WishList

This course provides experienced Java programmers with the skills to write new SOAP and REST web services, and access existing services. With this training, you also learn how to secure web services using both Java-specific and language-independent security technologies, and how the Java APIs — JAX-WS and JAX-RS — deliver a set of powerful tools for developing a Service-Oriented Architecture (SOA).

You Will Learn How To

  • Develop, deploy, and monitor SOAP and RESTful web services and web service clients with JAX-WS and JAX-RS
  • Implement a Service-Oriented Architecture (SOA) using web services
  • Create and deploy WSDL-first and code-first SOAP web services
  • Build secure SOAP and REST clients

Important Course Information

  • Requirements

    • Knowledge at the level of:
    • Three months of experience writing Java programs, including an understanding of Java classes and the inheritance model
    • You should be able to:
      • Create and run a complete stand-alone Java application
      • Use the standard flow control constructs (if/then/else/while/for)
      • Instantiate Java objects and call instance methods
      • Create classes that implement interfaces

Course Outline

  • Web Services Overview

Interoperable applications with SOA

  • Designing an SOA integration architecture
  • Implementing SOAs with web services

Java standard APIs for web services

  • Building SOAP–based services with JAX–WS
  • Developing RESTful services with JAX–RS
  • Defining SOAP Messages with WSDL

XML essentials

  • XML namespaces
  • Describing XML with schema

Structure of SOAP messages

  • Role of SOAP in web services
  • Operations, messages and faults

Anatomy of a WSDL document

  • Defining the interfaces of a web service
  • Specifying implementation
  • Implementing Code–First Web Services

Exposing plain old Java objects (POJOs) as web services

  • Applying JAX–WS annotations to POJOs
  • Configuring and deploying a web service implementation

Implementing SOAP clients in Java

  • Generating client–side artifacts from WSDL
  • Modifying client code to permit message monitoring
  • Authenticating and authorizing clients

Augmenting SOAP–based services

  • Incorporating best practices for web services
  • Implementing policies for security, reliability and message optimization
  • Generating Contract–First Web Services

Contract–first service development

  • Comparing contract–first and code–first services
  • Creating portable Java artifacts

Importing a WSDL document

  • Building interoperable applications by conforming to Web Services Interoperability (WS–I) standards
  • Implementing a web service endpoint using JAX–WS
  • Building RESTful Web Services

Introduction to REST (Representational State Transfer)

  • Describing the REST architectural style
  • Comparing SOAP and RESTful web services

Developing RESTful web services using JAX–RS

  • Adding JAX–RS annotations to a POJO
  • Configuring result types using HTTP request headers
  • Deploying a JAX–WS service

Customizing a RESTful Service Implementation

  • Interacting with request URLs
  • Mapping URLs to Java classes and methods
  • Binding URL components to method arguments
  • Providing Server–Side Support for Ajax Clients

Handling JavaScript Object Notation (JSON)

  • Applying cases for JSON with RESTful services
  • Interpreting a message formatted as JSON

Mapping Java to JSON

  • Controlling JSON generation with JAXB annotations
  • Defining a JSON return type from a Java method
  • Developing RESTful Clients

Dispatching REST messages using JAX–RS

  • Building the client’s request
  • Handling the service’s response code and exceptions

Marshalling JavaBeans with JAXB

  • Mapping XML with Java API for XML Binding (JAXB)
  • Converting Java arguments with JAXB and JAX–RS

Processing asynchronous messages

  • Implementing server–push with JAX–RS
  • Delivering asynchronous client requests
  • Securing Web Services

Configuring a secure web service

  • Configuring HTTP Basic Authentication
  • Establishing secure message transmission with SSL/TLS

Authenticating and authorizing clients

  • Controlling access to web services and methods
  • Providing authentication information to web services
Show complete outline
Show Less

Convenient Ways to Attend This Instructor-Led Course

Hassle-Free Enrollment: No advance payment required to reserve your seat.
Tuition due 30 days after you attend your course.

In the Classroom

Live, Online

Private Team Training

In the Classroom — OR — Live, Online

Tuition — Standard: $2990   Government: $2659

Jul 9 - 12 ( 4 Days)
9:00 AM - 4:30 PM EDT
Online (AnyWare) Online (AnyWare) Reserve Your Seat

Sep 3 - 6 ( 4 Days)
9:00 AM - 4:30 PM EDT
New York / Online (AnyWare) New York / Online (AnyWare) Reserve Your Seat

Oct 22 - 25 ( 4 Days)
9:00 AM - 4:30 PM EDT
Rockville, MD / Online (AnyWare) Rockville, MD / Online (AnyWare) Reserve Your Seat

Dec 3 - 6 ( 4 Days)
9:00 AM - 4:30 PM EST
Herndon, VA / Online (AnyWare) Herndon, VA / Online (AnyWare) Reserve Your Seat

Jan 7 - 10 ( 4 Days)
9:00 AM - 4:30 PM EST
Ottawa / Online (AnyWare) Ottawa / Online (AnyWare) Reserve Your Seat

Mar 3 - 6 ( 4 Days)
9:00 AM - 4:30 PM EST
New York / Online (AnyWare) New York / Online (AnyWare) Reserve Your Seat

Apr 21 - 24 ( 4 Days)
9:00 AM - 4:30 PM EDT
Rockville, MD / Online (AnyWare) Rockville, MD / Online (AnyWare) Reserve Your Seat

Jun 2 - 5 ( 4 Days)
9:00 AM - 4:30 PM EDT
Herndon, VA / Online (AnyWare) Herndon, VA / Online (AnyWare) Reserve Your Seat

Show all dates
Show fewer dates

Guaranteed to Run

When you see the "Guaranteed to Run" icon next to a course event, you can rest assured that your course event — date, time, location — will run. Guaranteed.

Private Team Training

Enrolling at least 3 people in this course? Consider bringing this (or any course that can be custom designed) to your preferred location as a private team training.

For details, call 1-888-843-8733 or Click Here »

This event has been added to your cart.




In Classroom or





Private Team Training

Contact Us »

Course Tuition Includes:

After-Course Instructor Coaching
When you return to work, you are entitled to schedule a free coaching session with your instructor for help and guidance as you apply your new skills.

After-Course Computing Sandbox
You'll be given remote access to a preconfigured virtual machine for you to redo your hands-on exercises, develop/test new code, and experiment with the same software used in your course.

Free Course Exam
You can take your Learning Tree course exam on the last day of your course or online any time after class.


Training Hours

Standard Course Hours: 9:00 am – 4:30 pm
*Informal discussion with instructor about your projects or areas of special interest: 4:30 pm – 5:30 pm

Enhance Your Credentials with Professional Certification

Learning Tree's comprehensive training and exam preparation guarantees that you will gain the knowledge and confidence to achieve professional certification and advance your career.

Earn 23 Credits from NASBA

This course qualifies for 23 CPE credits from the National Association of State Boards of Accountancy CPE program. NOTE: Only live, in-class attendance qualifies for NASBA CPEs. Read more ...

“Learning Tree Training, including the XML Web Services with Java course, has helped me to stay a step ahead in technologies. Back at work, I am better prepared to communicate with others, and I have a better understanding of the techniques that my organization can develop.”

- D. Ma, Computer Specialist
National Weather Service

Chat Now

Please Choose a Language

Canada - English

Canada - Français