本文整理汇总了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;
}
示例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);
}
}
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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"));
}