本文整理汇总了Java中org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition类的典型用法代码示例。如果您正苦于以下问题:Java DefaultWsdl11Definition类的具体用法?Java DefaultWsdl11Definition怎么用?Java DefaultWsdl11Definition使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
DefaultWsdl11Definition类属于org.springframework.ws.wsdl.wsdl11包,在下文中一共展示了DefaultWsdl11Definition类的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: defaultWsdl11Definition
import org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition; //导入依赖的package包/类
@Bean(name = "holiday")
public DefaultWsdl11Definition defaultWsdl11Definition(XsdSchema countriesSchema) {
DefaultWsdl11Definition wsdl = new DefaultWsdl11Definition();
wsdl.setPortTypeName("HumanResource");
wsdl.setLocationUri("/holidayService/");
wsdl.setTargetNamespace("http://mycompany.com/hr/definitions");
wsdl.setSchema(countriesSchema);
return wsdl;
}
开发者ID:philwebb,项目名称:spring-boot-concourse,代码行数:10,代码来源:WebServiceConfig.java
示例2: postProcessBeanFactory
import org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition; //导入依赖的package包/类
@Override
public void postProcessBeanFactory(ConfigurableListableBeanFactory bf) {
LOG.info("Registering @WebServices");
String[] beans = bf.getBeanDefinitionNames();
for (String s : beans) {
Class<?> beanType = bf.getType(s);
WebServiceDefinition ws = AnnotationUtils.findAnnotation(beanType,
WebServiceDefinition.class);
if (ws != null) {
String name = getName(s);
DefaultWsdl11Definition newWS = createWebService(name,
ws.xsds());
bf.registerSingleton(name, newWS);
LOG.info("Web service: {} has been added", name);
}
}
}
开发者ID:fpuna-cia,项目名称:karaku,代码行数:21,代码来源:ServiceDefinitionRegister.java
示例3: paymentV1WsdlDefinition
import org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition; //导入依赖的package包/类
@Bean(name = "v1_payment")
public DefaultWsdl11Definition paymentV1WsdlDefinition() {
DefaultWsdl11Definition wsdlDefinition = new DefaultWsdl11Definition();
wsdlDefinition.setPortTypeName("PaymentPort");
wsdlDefinition.setLocationUri("/ws/payment");
wsdlDefinition.setTargetNamespace("http://fatea.br/simplebank/soap/payment/v1");
wsdlDefinition.setSchema(paymentSchema());
wsdlDefinition.setServiceName("PaymentService");
return wsdlDefinition;
}
开发者ID:leosilvadev,项目名称:simplebank,代码行数:11,代码来源:WebServiceConfig.java
示例4: defaultWsdl11Definition
import org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition; //导入依赖的package包/类
@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;
}
开发者ID:in28minutes,项目名称:spring-web-services,代码行数:10,代码来源:WebServiceConfig.java
示例5: defaultWsdl11Definition
import org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition; //导入依赖的package包/类
@Bean(name = "countries")
public DefaultWsdl11Definition defaultWsdl11Definition(XsdSchema countriesSchema) {
DefaultWsdl11Definition wsdl11Definition = new DefaultWsdl11Definition();
wsdl11Definition.setPortTypeName("CountriesPort");
wsdl11Definition.setLocationUri("/ws");
wsdl11Definition.setTargetNamespace("country.namespace");
wsdl11Definition.setSchema(countriesSchema);
return wsdl11Definition;
}
开发者ID:daishicheng,项目名称:outcomes,代码行数:10,代码来源:WebServiceConfig.java
示例6: defaultWsdl11Definition
import org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition; //导入依赖的package包/类
@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;
}
开发者ID:kbastani,项目名称:cloud-native-microservice-strangler-example,代码行数:10,代码来源:WebServiceConfig.java
示例7: defaultWsdl11Models
import org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition; //导入依赖的package包/类
@Bean(name = "models")
public DefaultWsdl11Definition defaultWsdl11Models(XsdSchema modelsSchema) {
DefaultWsdl11Definition wsdl11Definition = new DefaultWsdl11Definition();
wsdl11Definition.setPortTypeName("BcdsModelingPort");
wsdl11Definition.setLocationUri("/soap-api/");
wsdl11Definition.setTargetNamespace("http://va.gov/vba/bcdss/models");
wsdl11Definition.setSchema(modelsSchema);
return wsdl11Definition;
}
开发者ID:VHAINNOVATIONS,项目名称:BCDS,代码行数:10,代码来源:WebServiceConfiguration.java
示例8: defaultWsdl11Definition
import org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition; //导入依赖的package包/类
@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;
}
开发者ID:mploed,项目名称:ddd-strategic-design-spring-boot,代码行数:10,代码来源:WebServiceConfig.java
示例9: defaultWsdl11Definition
import org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition; //导入依赖的package包/类
@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;
}
开发者ID:Nephilim84,项目名称:contestparser,代码行数:10,代码来源:WebServiceConfig.java
示例10: defaultWsdl11Definition
import org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition; //导入依赖的package包/类
@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;
}
开发者ID:danielyinanc,项目名称:spring-guides,代码行数:10,代码来源:WebServiceConfig.java
示例11: defaultWsdl11Definition
import org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition; //导入依赖的package包/类
@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;
}
开发者ID:ctco,项目名称:cukes,代码行数:10,代码来源:WebServiceConfiguration.java
示例12: testRegister
import org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition; //导入依赖的package包/类
@Test
public void testRegister() {
Map<String, DefaultWsdl11Definition> map = applicationContext
.getBeansOfType(DefaultWsdl11Definition.class);
assertNotNull(testEndPoint.testBean);
assertTrue(map.containsKey("test"));
assertNotNull(map.get("test"));
}
开发者ID:fpuna-cia,项目名称:karaku,代码行数:13,代码来源:RegisterServicesTest.java
注:本文中的org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论