@@ -0,0 +1,1373 @@
+package com.centralnabanka.ws.endpoint;%0A%0Aimport org.springframework.boot.web.servlet.ServletRegistrationBean;%0Aimport org.springframework.context.ApplicationContext;%0Aimport org.springframework.context.annotation.Bean;%0Aimport org.springframework.context.annotation.Configuration;%0Aimport org.springframework.core.io.ClassPathResource;%0Aimport org.springframework.ws.config.annotation.EnableWs;%0Aimport org.springframework.ws.config.annotation.WsConfigurerAdapter;%0Aimport org.springframework.ws.transport.http.MessageDispatcherServlet;%0Aimport org.springframework.ws.wsdl.wsdl11.SimpleWsdl11Definition;%0Aimport org.springframework.ws.wsdl.wsdl11.Wsdl11Definition;%0A%0A@EnableWs%0A@Configuration%0Apublic class WebServiceConfig extends WsConfigurerAdapter %7B%0A%0A    @Bean%0A    public ServletRegistrationBean%3CMessageDispatcherServlet%3E messageDispatcherServlet(ApplicationContext applicationContext) %7B%0A        MessageDispatcherServlet servlet = new MessageDispatcherServlet();%0A        servlet.setApplicationContext(applicationContext);%0A%0A        return new ServletRegistrationBean%3C%3E(servlet, %22/ws/*%22);%0A    %7D%0A%0A    @Bean(name = %22services%22)%0A    public Wsdl11Definition defaultWsdl11Definition() %7B%0A        SimpleWsdl11Definition wsdl11Definition = new SimpleWsdl11Definition();%0A        wsdl11Definition.setWsdl(new ClassPathResource(%22/wsdl/services.wsdl%22));%0A%0A        return wsdl11Definition;%0A    %7D%0A%7D%0A

Define message dispatcher servlet