Package org.springframework.ws.wsdl.wsdl11

Examples of org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition


    return new ServletRegistrationBean(servlet, "/services/*");
  }

  @Bean(name = "holiday")
  public DefaultWsdl11Definition defaultWsdl11Definition(XsdSchema countriesSchema) {
    DefaultWsdl11Definition wsdl11Definition = new DefaultWsdl11Definition();
    wsdl11Definition.setPortTypeName("HumanResource");
    wsdl11Definition.setLocationUri("/holidayService/");
    wsdl11Definition.setTargetNamespace("http://mycompany.com/hr/definitions");
    wsdl11Definition.setSchema(countriesSchema);
    return wsdl11Definition;
  }
View Full Code Here


        request.setContextPath("/context");
        request.setServletPath("/service.wsdl");
        request.setPathInfo(null);
        request.setRequestURI("/context/service.wsdl");

        SimpleWsdl11Definition definition =
                new SimpleWsdl11Definition(new ClassPathResource("echo-input.wsdl", getClass()));

        adapter.handle(request, response, definition);

        InputStream inputStream = new ByteArrayInputStream(response.getContentAsByteArray());
        DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance();
View Full Code Here

        request.setContextPath("/context");
        request.setServletPath("/service.wsdl");
        request.setPathInfo(null);
        request.setRequestURI("/context/service.wsdl");

        SimpleWsdl11Definition definition =
                new SimpleWsdl11Definition(new ClassPathResource("echo-input.wsdl", getClass()));

        adapter.handle(request, response, definition);

        InputStream inputStream = new ByteArrayInputStream(response.getContentAsByteArray());
        DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance();
View Full Code Here

TOP

Related Classes of org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition

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.