本文整理了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
[英]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());
内容来源于网络,如有侵权,请联系作者删除!