本文整理汇总了Java中org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition.setPortTypeName方法的典型用法代码示例。如果您正苦于以下问题:Java DefaultWsdl11Definition.setPortTypeName方法的具体用法?Java DefaultWsdl11Definition.setPortTypeName怎么用?Java DefaultWsdl11Definition.setPortTypeName使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition
的用法示例。
在下文中一共展示了DefaultWsdl11Definition.setPortTypeName方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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: 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;
}
示例3: 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;
}
示例4: 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;
}
示例5: 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;
}
示例6: 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;
}
示例7: 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;
}
示例8: 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;
}
示例9: 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;
}
示例10: 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;
}