From the course: Java EE 8: Web Services
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
JAX-WS for SOAP Services - Java EE Tutorial
From the course: Java EE 8: Web Services
JAX-WS for SOAP Services
- JAX-WS is short for Java API for XML-based web services. Catchy, I know. It's the Java EAPI that defines the components, classes and interfaces that we'll use to build SOAP web services. The latest version is 2.3 and the GlassFish based implementation we'll be working with is cooly named Metro. So, what's in metro for us? JAX-WS by way of Metro provides a set of annotations from the javax.jws package that we will use to decorate our Java classes and methods exposing the lot of them as web services. JAX-WS also provides a Maven plug-in to generate web service clients from a WSDL, JAX-WS provides a separate plug-in to generate the WSDL file, remember the WSDL the Web Service Descriptor Language document that's basically the blueprint for a SOAP web service. The plug-in to generate a SOAP web service client from the WSDL is called wsimport. Get it? WS, that's web service import. The way this will work is that someone…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.