By Marone: October 2017
JAXWS top-down approach
Goal
This article describes how to develop JAX-WS web service With Top-Down approach (contract first). We need a WSDL and only javax.xml.ws.Endpoint API and JAX-WS to test this way.Used technologies
JDK 1.8Eclipse (we will create a java project from wizard)
WSDL
At first we will structure our wsdl file in three sections:I) XML schema (TutorialService.xsd)
II) Abstract wsdl (TutorialServiceAbstract.wsdl)
III) The concret wsdl (TutorialService.wsdl)
Project structure

Generate Code
The generated files:

Implementing the Service
Warning! To avoid some trouble use
endpointInterface = "com.wstutorial.ws.TutorialServicePortType"