Package org.springframework.ws.transport.http

Examples of org.springframework.ws.transport.http.MessageDispatcherServlet


    WebApplicationContext servletAppContext = this.createServletApplicationContext();
    Assert.notNull(servletAppContext,
        "createServletApplicationContext() did not return an application " +
            "context for servlet [" + servletName + "]");

    MessageDispatcherServlet dispatcherServlet =
        new MessageDispatcherServlet(servletAppContext);
    dispatcherServlet.setTransformWsdlLocations(isTransformWsdlLocations());
    dispatcherServlet.setTransformSchemaLocations(isTransformSchemaLocations());

    ServletRegistration.Dynamic registration =
        servletContext.addServlet(servletName, dispatcherServlet);

    Assert.notNull(registration,
View Full Code Here


@Configuration
public class WebServiceConfig extends WsConfigurerAdapter {

  @Bean
  public ServletRegistrationBean dispatcherServlet(ApplicationContext applicationContext) {
    MessageDispatcherServlet servlet = new MessageDispatcherServlet();
    servlet.setApplicationContext(applicationContext);
    return new ServletRegistrationBean(servlet, "/services/*");
  }
 
View Full Code Here

TOP

Related Classes of org.springframework.ws.transport.http.MessageDispatcherServlet

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.