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

The following examples show how to use org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: WebServiceConfig.java    From springboot-learn with MIT License 5 votes vote down vote up
/**
 * DefaultWsdl11Definitionid 默认就是发布的ws的访问路径。
 * spring-ws发布的webservice是以后缀.wsdl访问的,跟传统的?wsdl不大一样
 *
 * @param countriesSchema
 * @return
 */
@Bean(name = "countries")
public DefaultWsdl11Definition defaultWsdl11Definition(XsdSchema countriesSchema) {
    DefaultWsdl11Definition wsdl11Definition = new DefaultWsdl11Definition();
    wsdl11Definition.setPortTypeName("CountriesPort");
    wsdl11Definition.setLocationUri("/ws");
    wsdl11Definition.setTargetNamespace("http://127.0.0.1:8080/ws");
    wsdl11Definition.setSchema(countriesSchema);
    return wsdl11Definition;
}
 
Example #2
Source File: WebServiceConfig.java    From Spring with Apache License 2.0 5 votes vote down vote up
@Bean(name = "courses")
public DefaultWsdl11Definition defaultWsdl11Definition(XsdSchema coursesSchema) {
       final DefaultWsdl11Definition definition = new DefaultWsdl11Definition();
	definition.setPortTypeName("CoursePort");
	definition.setTargetNamespace("http://localhost:8080/courses");
	definition.setLocationUri("/ws");
	definition.setSchema(coursesSchema);
	return definition;
}
 
Example #3
Source File: WebServiceConfig.java    From Spring with Apache License 2.0 5 votes vote down vote up
@Bean(name = "userMessage")
public DefaultWsdl11Definition defaultWsdl11Definition(XsdSchema userMessageSchema) {
    DefaultWsdl11Definition wsdl11Definition = new DefaultWsdl11Definition();
    wsdl11Definition.setPortTypeName("UsersPort");
    wsdl11Definition.setLocationUri("/ws");
    wsdl11Definition.setTargetNamespace(UserMessageEndpoint.NAMESPACE_URI);
    wsdl11Definition.setSchema(userMessageSchema);
    return wsdl11Definition;
}
 
Example #4
Source File: WebServiceConfig.java    From freeacs with MIT License 5 votes vote down vote up
@Bean(name = "acs")
public DefaultWsdl11Definition defaultWsdl11Definition(XsdSchema countriesSchema) {
  DefaultWsdl11Definition wsdl11Definition = new DefaultWsdl11Definition();
  wsdl11Definition.setPortTypeName("ACSPort");
  wsdl11Definition.setLocationUri("/ws");
  wsdl11Definition.setTargetNamespace(NAMESPACE_URI);
  wsdl11Definition.setSchema(countriesSchema);
  return wsdl11Definition;
}
 
Example #5
Source File: WebServiceConfig.java    From spring-web-services with MIT License 5 votes vote down vote up
@Bean(name = "courses")
public DefaultWsdl11Definition defaultWsdl11Definition(XsdSchema coursesSchema) {
	DefaultWsdl11Definition definition = new DefaultWsdl11Definition();
	definition.setPortTypeName("CoursePort");
	definition.setTargetNamespace("http://in28minutes.com/courses");
	definition.setLocationUri("/ws");
	definition.setSchema(coursesSchema);
	return definition;
}
 
Example #6
Source File: WebServiceConfig.java    From cloud-native-microservice-strangler-example with GNU General Public License v3.0 5 votes vote down vote up
@Bean(name = "customers")
public DefaultWsdl11Definition defaultWsdl11Definition(XsdSchema customersSchema) {
    DefaultWsdl11Definition wsdl11Definition = new DefaultWsdl11Definition();
    wsdl11Definition.setPortTypeName("CustomersPort");
    wsdl11Definition.setLocationUri("/v1/customers");
    wsdl11Definition.setTargetNamespace("http://kennybastani.com/guides/customer-service");
    wsdl11Definition.setSchema(customersSchema);
    return wsdl11Definition;
}
 
Example #7
Source File: WebServiceConfig.java    From cloud-native-microservice-strangler-example with GNU General Public License v3.0 5 votes vote down vote up
@Bean(name = "customers")
public DefaultWsdl11Definition defaultWsdl11Definition(XsdSchema customersSchema) {
    DefaultWsdl11Definition wsdl11Definition = new DefaultWsdl11Definition();
    wsdl11Definition.setPortTypeName("CustomersPort");
    wsdl11Definition.setLocationUri("/v1/customers");
    wsdl11Definition.setTargetNamespace("http://kennybastani.com/guides/customer-service");
    wsdl11Definition.setSchema(customersSchema);
    return wsdl11Definition;
}
 
Example #8
Source File: WebServiceConfig.java    From ddd-strategic-design-spring-boot with Apache License 2.0 5 votes vote down vote up
@Bean(name = "customers")
public DefaultWsdl11Definition defaultWsdl11Definition(XsdSchema countriesSchema) {
    DefaultWsdl11Definition wsdl11Definition = new DefaultWsdl11Definition();
    wsdl11Definition.setPortTypeName("CustomersPort");
    wsdl11Definition.setLocationUri("/ws");
    wsdl11Definition.setTargetNamespace("http://innoq.com/mploed/ddd/customer/ws");
    wsdl11Definition.setSchema(countriesSchema);
    return wsdl11Definition;
}
 
Example #9
Source File: WebServiceConfig.java    From spring-boot-samples with Apache License 2.0 5 votes vote down vote up
@Bean(name = "countries")
public DefaultWsdl11Definition defaultWsdl11Definition(XsdSchema countriesSchema) {
	DefaultWsdl11Definition wsdl11Definition = new DefaultWsdl11Definition();
	wsdl11Definition.setPortTypeName("CountriesPort");
	wsdl11Definition.setLocationUri("/ws");
	wsdl11Definition.setTargetNamespace("http://spring.io/guides/gs-producing-web-service");
	wsdl11Definition.setSchema(countriesSchema);
	return wsdl11Definition;
}
 
Example #10
Source File: WebServiceConfig.java    From spring-boot-samples with Apache License 2.0 5 votes vote down vote up
@Bean(name="holiday")  //http://localhost:8080/services/holiday.wsdl
public DefaultWsdl11Definition defaultWsdl11Definition(
			XsdSchema countriesSchema){
	DefaultWsdl11Definition wsdl11Definition = new DefaultWsdl11Definition();
	wsdl11Definition.setPortTypeName("HumanResource");
	wsdl11Definition.setLocationUri("/holidayService");
	wsdl11Definition.setTargetNamespace("http://joedayz.pe/hr/definitions");
	wsdl11Definition.setSchema(countriesSchema);
	
	return wsdl11Definition;
}
 
Example #11
Source File: WebServiceConfig.java    From spring-boot-samples with Apache License 2.0 5 votes vote down vote up
@Bean(name="students")  //http://localhost:8080/services/students.wsdl
public DefaultWsdl11Definition studentsWsdl11Definition(
			XsdSchema studentsSchema){
	DefaultWsdl11Definition wsdl11Definition = new DefaultWsdl11Definition();
	wsdl11Definition.setPortTypeName("StudentResource");
	wsdl11Definition.setLocationUri("/studentService");
	wsdl11Definition.setTargetNamespace("http://joedayz.pe/soap");
	wsdl11Definition.setSchema(studentsSchema);
	
	return wsdl11Definition;
}
 
Example #12
Source File: WebServiceConfiguration.java    From cukes with Apache License 2.0 5 votes vote down vote up
@Bean(name = "calculator")
public DefaultWsdl11Definition defaultWsdl11Definition(XsdSchemaCollection schemaCollection) {
    DefaultWsdl11Definition wsdl11Definition = new DefaultWsdl11Definition();
    wsdl11Definition.setPortTypeName("CalculatorPort");
    wsdl11Definition.setLocationUri("/ws");
    wsdl11Definition.setTargetNamespace("http://github.com/ctco/cukes/cukes-soap-sample");
    wsdl11Definition.setSchemaCollection(schemaCollection);
    return wsdl11Definition;
}
 
Example #13
Source File: WebServiceConfig.java    From tutorials with MIT License 5 votes vote down vote up
@Bean(name = "countries")
public DefaultWsdl11Definition defaultWsdl11Definition(XsdSchema countriesSchema) {
    DefaultWsdl11Definition wsdl11Definition = new DefaultWsdl11Definition();
    wsdl11Definition.setPortTypeName("CountriesPort");
    wsdl11Definition.setLocationUri("/ws");
    wsdl11Definition.setTargetNamespace("http://www.baeldung.com/springsoap/gen");
    wsdl11Definition.setSchema(countriesSchema);
    return wsdl11Definition;
}