本文整理了Java中javax.wsdl.Output.getName()
方法的一些代码示例,展示了Output.getName()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Output.getName()
方法的具体详情如下:
包路径:javax.wsdl.Output
类名称:Output
方法名:getName
[英]Get the name of this output message.
[中]获取此输出消息的名称。
代码示例来源:origin: wsdl4j/wsdl4j
String opOutputName = output.getName();
代码示例来源:origin: wsdl4j/wsdl4j
protected void printOutput(Output output,
Definition def,
PrintWriter pw)
throws WSDLException
{
if (output != null)
{
String tagName =
DOMUtils.getQualifiedValue(Constants.NS_URI_WSDL,
Constants.ELEM_OUTPUT,
def);
pw.print(" <" + tagName);
DOMUtils.printAttribute(Constants.ATTR_NAME, output.getName(), pw);
Message message = output.getMessage();
if (message != null)
{
DOMUtils.printQualifiedAttribute(Constants.ATTR_MESSAGE,
message.getQName(),
def,
pw);
}
printExtensibilityAttributes(Output.class, output, def, pw);
pw.println('>');
printDocumentation(output.getDocumentationElement(), def, pw);
List extElements = output.getExtensibilityElements();
printExtensibilityElements(Output.class, extElements, def, pw);
pw.println(" </" + tagName + '>');
}
}
代码示例来源:origin: wsdl4j/wsdl4j
: null);
String outputName = (output != null
? (output.getName() != null ? output.getName() : Constants.NONE)
: null);
if (tempOut.getName() != null)
代码示例来源:origin: org.apache.tuscany.sca/tuscany-binding-ws-wsdlgen
protected void configureBindingOutput(BindingOutput bindingOutput, Output output) throws WSDLException {
bindingOutput.setName(output.getName());
}
代码示例来源:origin: org.springframework.ws/org.springframework.ws
/**
* Called after the {@link BindingOutput} has been created. Subclasses can override this method to define the name,
* or add extensions to it.
* <p/>
* Default implementation sets the name of the binding output to the name of the output.
*
* @param definition the WSDL4J <code>Definition</code>
* @param bindingOutput the WSDL4J <code>BindingOutput</code>
* @param output the corresponding WSDL4J <code>Output</code> @throws WSDLException in case of errors
*/
protected void populateBindingOutput(Definition definition, BindingOutput bindingOutput, Output output)
throws WSDLException {
bindingOutput.setName(output.getName());
}
代码示例来源:origin: spring-projects/spring-ws
/**
* Called after the {@link BindingOutput} has been created. Subclasses can override this method to define the name,
* or add extensions to it.
*
* <p>Default implementation sets the name of the binding output to the name of the output.
*
* @param definition the WSDL4J {@code Definition}
* @param bindingOutput the WSDL4J {@code BindingOutput}
* @param output the corresponding WSDL4J {@code Output} @throws WSDLException in case of errors
*/
protected void populateBindingOutput(Definition definition, BindingOutput bindingOutput, Output output)
throws WSDLException {
bindingOutput.setName(output.getName());
}
代码示例来源:origin: org.apache.tomee/openejb-webservices
protected void visit(Output output) {
Map outputParts = output.getMessage().getParts();
if (outputParts.size() != 0 && outputParts.size() != 1) {
context.addFailure(new ValidationFailure("The output message must contain zero or one parts: " + output.getName()));
}
}
代码示例来源:origin: org.apache.openejb/openejb-webservices
protected void visit(final Output output) {
final Map outputParts = output.getMessage().getParts();
if (outputParts.size() != 0 && outputParts.size() != 1) {
context.addFailure(new ValidationFailure("The output message must contain zero or one parts: " + output.getName()));
}
}
代码示例来源:origin: org.apache.geronimo.modules/geronimo-webservices
protected void visit(Output output) {
Map outputParts = output.getMessage().getParts();
if (outputParts.size() != 0 && outputParts.size() != 1) {
context.addFailure(new ValidationFailure("The output message must contain zero or one parts: " + output.getName()));
}
}
代码示例来源:origin: org.apache.geronimo.ext.openejb/openejb-webservices
protected void visit(Output output) {
Map outputParts = output.getMessage().getParts();
if (outputParts.size() != 0 && outputParts.size() != 1) {
context.addFailure(new ValidationFailure("The output message must contain zero or one parts: " + output.getName()));
}
}
代码示例来源:origin: apache/cxf
private static BindingOutput getBindingOutput(Output output, Definition wsdlDefinition,
ExtensionRegistry extReg) throws Exception {
BindingOutput bo = wsdlDefinition.createBindingOutput();
bo.setName(output.getName());
bo.addExtensibilityElement(getSoapBody(BindingOutput.class, extReg));
return bo;
}
代码示例来源:origin: apache/cxf
private BindingOutput getBindingOutput(Output output, String operationName) throws ToolException {
BindingOutput bo = wsdlDefinition.createBindingOutput();
bo.setName(output.getName());
bo.addExtensibilityElement(getXMLBody(BindingOutput.class, operationName));
return bo;
}
代码示例来源:origin: apache/cxf
private BindingOutput getBindingOutput(Output output) throws ToolException {
BindingOutput bo = wsdlDefinition.createBindingOutput();
bo.setName(output.getName());
// As command line won't specify the details of body/header for message
// parts
// All output message's parts will be added into one soap body element
bo.addExtensibilityElement(getSoapBody(BindingOutput.class));
return bo;
}
代码示例来源:origin: org.objectweb.celtix/celtix-tools
private BindingOutput getBindingOutput(Output output) throws ToolException {
BindingOutput bo = wsdlDefinition.createBindingOutput();
bo.setName(output.getName());
// As command line won't specify the details of body/header for message
// parts
// All output message's parts will be added into one soap body element
bo.addExtensibilityElement(getSoapBody(BindingOutput.class));
return bo;
}
代码示例来源:origin: org.apache.cxf/cxf-tools-misctools
private BindingOutput getBindingOutput(Output output) throws ToolException {
BindingOutput bo = wsdlDefinition.createBindingOutput();
bo.setName(output.getName());
// As command line won't specify the details of body/header for message
// parts
// All output message's parts will be added into one soap body element
bo.addExtensibilityElement(getSoapBody(BindingOutput.class));
return bo;
}
代码示例来源:origin: org.apache.cxf/cxf-tools-misctools
private BindingOutput getBindingOutput(Output output, String operationName) throws ToolException {
BindingOutput bo = wsdlDefinition.createBindingOutput();
bo.setName(output.getName());
bo.addExtensibilityElement(getXMLBody(BindingOutput.class, operationName));
return bo;
}
代码示例来源:origin: org.apache.cxf/cxf-bundle-jaxrs
private static BindingOutput getBindingOutput(Output output, Definition wsdlDefinition,
ExtensionRegistry extReg) throws Exception {
BindingOutput bo = wsdlDefinition.createBindingOutput();
bo.setName(output.getName());
bo.addExtensibilityElement(getSoapBody(BindingOutput.class, extReg));
return bo;
}
代码示例来源:origin: org.apache.cxf/cxf-rt-core
private static BindingOutput getBindingOutput(Output output, Definition wsdlDefinition,
ExtensionRegistry extReg) throws Exception {
BindingOutput bo = wsdlDefinition.createBindingOutput();
bo.setName(output.getName());
bo.addExtensibilityElement(getSoapBody(BindingOutput.class, extReg));
return bo;
}
代码示例来源:origin: org.objectweb.celtix/celtix-tools
private BindingOutput getBindingOutput(Output output, String operationName) throws ToolException {
BindingOutput bo = wsdlDefinition.createBindingOutput();
bo.setName(output.getName());
bo.addExtensibilityElement(getXMLBody(BindingOutput.class, operationName));
return bo;
}
代码示例来源:origin: de.tudarmstadt.ukp.dkpro.core/de.tudarmstadt.ukp.dkpro.core.io.wsdl-asl
public Selector(Resource aFile, Service aService, Port aPort, Operation aOperation, String aId)
{
file = aFile;
service = aService.getQName();
port = aPort.getName();
operation = aOperation.getName();
String inputName = aOperation.getInput().getName();
input = (inputName != null) ? inputName : ":none";
String outputName = aOperation.getOutput().getName();
output = (outputName != null) ? outputName : ":none";
id = aId;
}
}
内容来源于网络,如有侵权,请联系作者删除!