org.apache.tuscany.sca.interfacedef.wsdl.WSDLDefinition.setURI()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(4.3k)|赞(0)|评价(0)|浏览(139)

本文整理了Java中org.apache.tuscany.sca.interfacedef.wsdl.WSDLDefinition.setURI()方法的一些代码示例,展示了WSDLDefinition.setURI()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WSDLDefinition.setURI()方法的具体详情如下:
包路径:org.apache.tuscany.sca.interfacedef.wsdl.WSDLDefinition
类名称:WSDLDefinition
方法名:setURI

WSDLDefinition.setURI介绍

[英]Set the contribution artifact URI of the WSDL document
[中]设置WSDL文档的贡献工件URI

代码示例

代码示例来源:origin: org.apache.tuscany.sca/tuscany-interface-wsdl

public WSDLDefinition read(URL contributionURL, URI artifactURI, URL artifactURL, ProcessorContext context) throws ContributionReadException {
  try {
    WSDLDefinition definition = indexRead(artifactURL);
    definition.setURI(artifactURI);
    return definition;
  } catch (Exception e) {
    ContributionReadException ce = new ContributionReadException(e);
    error(context.getMonitor(), "ContributionReadException", artifactURL, ce);
    //throw ce;
    return null;
  }
}

代码示例来源:origin: org.apache.tuscany.sca/tuscany-base-runtime

public WSDLDefinition read(URL contributionURL, URI artifactURI, URL artifactURL, ProcessorContext context) throws ContributionReadException {
  try {
    WSDLDefinition definition = indexRead(artifactURL);
    definition.setURI(artifactURI);
    return definition;
  } catch (Exception e) {
    ContributionReadException ce = new ContributionReadException(e);
    error(context.getMonitor(), "ContributionReadException", artifactURL, ce);
    //throw ce;
    return null;
  }
}

代码示例来源:origin: org.apache.tuscany.sca/tuscany-interface-wsdl

resolved.setNamespace(resolved.getDefinition().getTargetNamespace());
resolved.setUnresolved(false);
resolved.setURI(unresolved.getURI());
return modelClass.cast(resolved);

代码示例来源:origin: org.apache.tuscany.sca/tuscany-base-runtime

resolved.setNamespace(resolved.getDefinition().getTargetNamespace());
resolved.setUnresolved(false);
resolved.setURI(unresolved.getURI());
return modelClass.cast(resolved);

代码示例来源:origin: org.apache.tuscany.sca/tuscany-interface-wsdl

wsdlDefinition.setDefinition(resolved.getDefinition());
wsdlDefinition.setLocation(resolved.getLocation());
wsdlDefinition.setURI(resolved.getURI());
wsdlDefinition.getImportedDefinitions().addAll(resolved.getImportedDefinitions());
wsdlDefinition.getXmlSchemas().addAll(resolved.getXmlSchemas());

代码示例来源:origin: org.apache.tuscany.sca/tuscany-base-runtime

wsdlDefinition.setDefinition(resolved.getDefinition());
wsdlDefinition.setLocation(resolved.getLocation());
wsdlDefinition.setURI(resolved.getURI());
wsdlDefinition.getImportedDefinitions().addAll(resolved.getImportedDefinitions());
wsdlDefinition.getXmlSchemas().addAll(resolved.getXmlSchemas());

代码示例来源:origin: org.apache.tuscany.sca/tuscany-interface-wsdl

wsdlDefinition.setURI(new URI(imp.getLocationURI()));
resolved = resolveImports(WSDLDefinition.class, wsdlDefinition, context);
if (!resolved.isUnresolved()) {

代码示例来源:origin: org.apache.tuscany.sca/tuscany-base-runtime

wsdlDefinition.setURI(new URI(imp.getLocationURI()));
resolved = resolveImports(WSDLDefinition.class, wsdlDefinition, context);
if (!resolved.isUnresolved()) {

代码示例来源:origin: org.apache.tuscany.sca/tuscany-interface-wsdl

wsdlDefinition.setDefinition(resolved.getDefinition());
wsdlDefinition.setLocation(resolved.getLocation());
wsdlDefinition.setURI(resolved.getURI());
wsdlDefinition.getImportedDefinitions().addAll(resolved.getImportedDefinitions());
wsdlDefinition.getXmlSchemas().addAll(resolved.getXmlSchemas());

代码示例来源:origin: org.apache.tuscany.sca/tuscany-base-runtime

wsdlDefinition.setDefinition(resolved.getDefinition());
wsdlDefinition.setLocation(resolved.getLocation());
wsdlDefinition.setURI(resolved.getURI());
wsdlDefinition.getImportedDefinitions().addAll(resolved.getImportedDefinitions());
wsdlDefinition.getXmlSchemas().addAll(resolved.getXmlSchemas());

代码示例来源:origin: org.apache.tuscany.sca/tuscany-base-runtime

wsdlDefinition.setDefinition(resolved.getDefinition());
wsdlDefinition.setLocation(resolved.getLocation());
wsdlDefinition.setURI(resolved.getURI());
wsdlDefinition.getImportedDefinitions().addAll(resolved.getImportedDefinitions());
wsdlDefinition.getXmlSchemas().addAll(resolved.getXmlSchemas());

代码示例来源:origin: org.apache.tuscany.sca/tuscany-binding-ws

wsdlDefinition.setDefinition(resolved.getDefinition());
wsdlDefinition.setLocation(resolved.getLocation());
wsdlDefinition.setURI(resolved.getURI());
wsdlDefinition.getImportedDefinitions().addAll(resolved.getImportedDefinitions());
wsdlDefinition.getXmlSchemas().addAll(resolved.getXmlSchemas());

相关文章