Skip to content

SOAP Web Services implementation using Spring Boot and Apache CXF

Notifications You must be signed in to change notification settings

pavel-kuropatin/Spring-SOAP-WebServices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SOAP Web Services implementation using Spring Boot and Apache CXF


This sample project demonstrates how to use CXF Web Services with Spring Boot with constructor dependency injection.

Web services display warning Web Serviceproblem:Class should be instantiatable (have public modifier and noarg public constructor) since they don't have public no arg constructor as described in JAX-WS documentation but this is not a problem, because web services are created by Spring.

WSDL location can be configured in application.properties cxf.path= property. By default it is http://localhost:8080/ws when started from IDE. On a Tomcat server it will be http://host:port/jaxws-cxf/ws by default.
Spring Rest or MVC controllers and CXF services must be located on different servlet contexts.

Postman WSDL collection located HERE