• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Java XsdSchema类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中org.springframework.xml.xsd.XsdSchema的典型用法代码示例。如果您正苦于以下问题:Java XsdSchema类的具体用法?Java XsdSchema怎么用?Java XsdSchema使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



XsdSchema类属于org.springframework.xml.xsd包,在下文中一共展示了XsdSchema类的19个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: defaultWsdl11Definition

import org.springframework.xml.xsd.XsdSchema; //导入依赖的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: afterPropertiesSet

import org.springframework.xml.xsd.XsdSchema; //导入依赖的package包/类
public void afterPropertiesSet() throws Exception {
  soapProvider.setLocationUri("http://SECURITY_SERVER/cgi-bin/consumer_proxy");
  soapProvider.setXRoadDatabase(xRoadDatabase);
  soapProvider.setXRoadEndpointMapping(xRoadEndpointMapping);
  portTypesProvider.setXRoadEndpointMapping(xRoadEndpointMapping);

  setRequestSuffix(SuffixBasedMessagesProvider.DEFAULT_REQUEST_SUFFIX);
  setResponseSuffix(SuffixBasedMessagesProvider.DEFAULT_RESPONSE_SUFFIX);

  String targetNamespace = StringUtils.hasText(xRoadTargetNamespace)
                                                                     ? xRoadTargetNamespace
                                                                     : "http://" + xRoadDatabase + ".x-road.eu";
  delegate.setTargetNamespace(targetNamespace);

  if (!StringUtils.hasText(delegate.getTargetNamespace()) && typesProvider.getSchemaCollection() != null
      && typesProvider.getSchemaCollection().getXsdSchemas().length > 0) {
    XsdSchema schema = typesProvider.getSchemaCollection().getXsdSchemas()[0];
    delegate.setTargetNamespace(schema.getTargetNamespace());
  }
  if (!StringUtils.hasText(serviceName) && StringUtils.hasText(portTypesProvider.getPortTypeName())) {
    soapProvider.setServiceName(portTypesProvider.getPortTypeName() + "Service");
  }
  delegate.afterPropertiesSet();
  addXRoadExtensions(delegate.getDefinition());
}
 
开发者ID:nortal,项目名称:j-road,代码行数:26,代码来源:XTeeWsdlDefinition.java


示例3: defaultWsdl11Definition

import org.springframework.xml.xsd.XsdSchema; //导入依赖的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


示例4: defaultWsdl11Definition

import org.springframework.xml.xsd.XsdSchema; //导入依赖的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


示例5: defaultWsdl11Definition

import org.springframework.xml.xsd.XsdSchema; //导入依赖的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


示例6: defaultWsdl11Models

import org.springframework.xml.xsd.XsdSchema; //导入依赖的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


示例7: defaultWsdl11Definition

import org.springframework.xml.xsd.XsdSchema; //导入依赖的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


示例8: defaultWsdl11Definition

import org.springframework.xml.xsd.XsdSchema; //导入依赖的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


示例9: defaultWsdl11Definition

import org.springframework.xml.xsd.XsdSchema; //导入依赖的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


示例10: contentStoreSchema

import org.springframework.xml.xsd.XsdSchema; //导入依赖的package包/类
/**  
 * Publishing XML schema
 * @return The XSD definition
 */
@Bean
public XsdSchema contentStoreSchema() {
    SimpleXsdSchema xsdSchema = new SimpleXsdSchema();
    xsdSchema.setXsd(new ClassPathResource("contentStoreSchema.xsd"));
    return xsdSchema;
}
 
开发者ID:vanioinformatika,项目名称:spring-boot-integration-example,代码行数:11,代码来源:ExampleIntegrationApplication.java


示例11: coursesSchema

import org.springframework.xml.xsd.XsdSchema; //导入依赖的package包/类
@Bean
public XsdSchema coursesSchema() {
	return new SimpleXsdSchema(new ClassPathResource("course-details.xsd"));
}
 
开发者ID:in28minutes,项目名称:spring-web-services,代码行数:5,代码来源:WebServiceConfig.java


示例12: countriesSchema

import org.springframework.xml.xsd.XsdSchema; //导入依赖的package包/类
@Bean
public XsdSchema countriesSchema() {
    return new SimpleXsdSchema(new ClassPathResource("countries.xsd"));
}
 
开发者ID:daishicheng,项目名称:outcomes,代码行数:5,代码来源:WebServiceConfig.java


示例13: customersSchema

import org.springframework.xml.xsd.XsdSchema; //导入依赖的package包/类
@Bean
public XsdSchema customersSchema() {
    return new SimpleXsdSchema(new ClassPathResource("customers.xsd"));
}
 
开发者ID:kbastani,项目名称:cloud-native-microservice-strangler-example,代码行数:5,代码来源:WebServiceConfig.java


示例14: modelsSchema

import org.springframework.xml.xsd.XsdSchema; //导入依赖的package包/类
@Bean
public XsdSchema modelsSchema() {
	return new SimpleXsdSchema(new ClassPathResource("models.xsd"));
}
 
开发者ID:VHAINNOVATIONS,项目名称:BCDS,代码行数:5,代码来源:WebServiceConfiguration.java


示例15: countriesSchema

import org.springframework.xml.xsd.XsdSchema; //导入依赖的package包/类
@Bean
public XsdSchema countriesSchema() {
	return new SimpleXsdSchema(new ClassPathResource("META-INF/schemas/hr.xsd"));
}
 
开发者ID:vikrammane23,项目名称:https-github.com-g0t4-jenkins2-course-spring-boot,代码行数:5,代码来源:WebServiceConfig.java


示例16: countriesSchema

import org.springframework.xml.xsd.XsdSchema; //导入依赖的package包/类
@Bean
public XsdSchema countriesSchema() {
	return new SimpleXsdSchema(new ClassPathResource("countries.xsd"));
}
 
开发者ID:danielyinanc,项目名称:spring-guides,代码行数:5,代码来源:WebServiceConfig.java


示例17: paymentSchema

import org.springframework.xml.xsd.XsdSchema; //导入依赖的package包/类
@Bean
public XsdSchema paymentSchema() {
	return new SimpleXsdSchema(paymentV1XSDResource());
}
 
开发者ID:leosilvadev,项目名称:simplebank,代码行数:5,代码来源:WebServiceConfig.java


示例18: setSchema

import org.springframework.xml.xsd.XsdSchema; //导入依赖的package包/类
/**
 * Sets the single XSD schema to inline. Either this property, or {@link #setSchemaCollection(XsdSchemaCollection)
 * schemaCollection} must be set.
 */
public void setSchema(final XsdSchema schema) {
  typesProvider.setSchema(schema);
}
 
开发者ID:nortal,项目名称:j-road,代码行数:8,代码来源:XTeeWsdlDefinition.java


示例19: setXsdSchema

import org.springframework.xml.xsd.XsdSchema; //导入依赖的package包/类
/**
 * Sets the {@link XsdSchema} to use for validation. Setting this property, {@link
 * #setXsdSchemaCollection(XsdSchemaCollection) xsdSchemaCollection}, {@link #setSchema(Resource) schema}, or {@link
 * #setSchemas(Resource[]) schemas} is required.
 *
 * @param schema the xsd schema to use
 * @throws IOException in case of I/O errors
 */
public void setXsdSchema(XsdSchema schema) throws IOException {
    this.validator = schema.createValidator();
}
 
开发者ID:lukas-krecan,项目名称:spring-ws-test,代码行数:12,代码来源:SchemaRequestValidator.java



注:本文中的org.springframework.xml.xsd.XsdSchema类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java SAMLVersion类代码示例发布时间:2022-05-21
下一篇:
Java BlockCanary类代码示例发布时间:2022-05-21
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap