本文整理了Java中javax.wsdl.Output.setName()
方法的一些代码示例,展示了Output.setName()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Output.setName()
方法的具体详情如下:
包路径:javax.wsdl.Output
类名称:Output
方法名:setName
[英]Set the name of this output message.
[中]设置此输出消息的名称。
代码示例来源:origin: wsdl4j/wsdl4j
output.setName(name);
代码示例来源:origin: wsdl4j/wsdl4j
op.setName(name);
input.setName(inputName);
output.setName(outputName);
op.setInput(input);
op.setOutput(output);
代码示例来源:origin: apache/servicemix-bundles
/**
* Called after the {@link javax.wsdl.Output} has been created, but it's added to the operation. Subclasses can
* override this method to define the output name.
*
* <p>Default implementation sets the output name to the message name.
*
* @param definition the WSDL4J {@code Definition}
* @param output the WSDL4J {@code Output}
*/
protected void populateOutput(Definition definition, Output output) {
output.setName(output.getMessage().getQName().getLocalPart());
}
代码示例来源:origin: org.springframework.ws/spring-ws-core
/**
* Called after the {@link javax.wsdl.Output} has been created, but it's added to the operation. Subclasses can
* override this method to define the output name.
*
* <p>Default implementation sets the output name to the message name.
*
* @param definition the WSDL4J {@code Definition}
* @param output the WSDL4J {@code Output}
*/
protected void populateOutput(Definition definition, Output output) {
output.setName(output.getMessage().getQName().getLocalPart());
}
代码示例来源:origin: org.springframework.ws/org.springframework.ws
/**
* Called after the {@link javax.wsdl.Output} has been created, but it's added to the operation. Subclasses can
* override this method to define the output name.
* <p/>
* Default implementation sets the output name to the message name.
*
* @param definition the WSDL4J <code>Definition</code>
* @param output the WSDL4J <code>Output</code>
*/
protected void populateOutput(Definition definition, Output output) {
output.setName(output.getMessage().getQName().getLocalPart());
}
代码示例来源:origin: spring-projects/spring-ws
/**
* Called after the {@link javax.wsdl.Output} has been created, but it's added to the operation. Subclasses can
* override this method to define the output name.
*
* <p>Default implementation sets the output name to the message name.
*
* @param definition the WSDL4J {@code Definition}
* @param output the WSDL4J {@code Output}
*/
protected void populateOutput(Definition definition, Output output) {
output.setName(output.getMessage().getQName().getLocalPart());
}
代码示例来源:origin: org.objectweb.celtix/celtix-tools
private void addOutputToMessage(Operation operation, Message msg, String outputName) {
Output output = definition.createOutput();
output.setMessage(msg);
output.setName(outputName);
operation.setOutput(output);
}
}
代码示例来源:origin: org.codehaus.xfire/xfire-core
public javax.wsdl.Operation createOperation(OperationInfo op,
Message req,
Message res,
List faultMessages)
{
Definition def = getDefinition();
javax.wsdl.Operation wsdlOp = def.createOperation();
Input input = def.createInput();
input.setMessage(req);
input.setName(req.getQName().getLocalPart());
wsdlOp.setInput(input);
if (res != null)
{
Output output = def.createOutput();
output.setMessage(res);
output.setName(res.getQName().getLocalPart());
wsdlOp.setOutput(output);
}
for (Iterator itr = faultMessages.iterator(); itr.hasNext();)
{
wsdlOp.addFault((Fault) itr.next());
}
wsdlOp.setName(op.getName());
return wsdlOp;
}
代码示例来源:origin: apache/cxf
private Operation generateOperation(String name, Message inputMsg, Message outputMsg) {
Input input = definition.createInput();
input.setName(inputMsg.getQName().getLocalPart());
input.setMessage(inputMsg);
Output output = definition.createOutput();
output.setName(outputMsg.getQName().getLocalPart());
output.setMessage(outputMsg);
Operation result = definition.createOperation();
result.setName(name);
result.setInput(input);
result.setOutput(output);
result.setUndefined(false);
portType.addOperation(result);
return result;
}
代码示例来源:origin: org.jboss.fuse.wsdl2rest/wsdl2rest-impl
if (out != null) {
if (out.getName() == null) {
out.setName(opName + "Response");
代码示例来源:origin: org.apache.axis/axis
output.setName(name);
bindingOper.getBindingOutput().setName(name);
oper.setOutput(output);
代码示例来源:origin: apache/cxf
public Message generateOutputMessage(Operation operation, BindingOperation bindingOperation) {
Message msg = definition.createMessage();
QName msgName;
if (!mapper.isDefaultMapping()) {
//mangle the message name
//REVISIT, do we put in the entire scope for mangling
msgName = new QName(definition.getTargetNamespace(),
getScope().tail() + "." + operation.getName() + RESPONSE_SUFFIX);
} else {
msgName = new QName(definition.getTargetNamespace(),
operation.getName() + RESPONSE_SUFFIX);
}
msg.setQName(msgName);
msg.setUndefined(false);
String outputName = operation.getName() + RESPONSE_SUFFIX;
Output output = definition.createOutput();
output.setName(outputName);
output.setMessage(msg);
BindingOutput bindingOutput = definition.createBindingOutput();
bindingOutput.setName(outputName);
bindingOperation.setBindingOutput(bindingOutput);
operation.setOutput(output);
definition.addMessage(msg);
return msg;
}
代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis
output.setName(name);
bindingOper.getBindingOutput().setName(name);
oper.setOutput(output);
代码示例来源:origin: org.jboss.ws.native/jbossws-native-core
output.setName(name);
代码示例来源:origin: org.apache.servicemix/servicemix-common
flatOutput.setName(defOper.getOutput().getName());
if (defOper.getOutput().getMessage() != null) {
Message flatOutputMsg = copyMessage(defOper.getOutput().getMessage(), flat);
代码示例来源:origin: org.wso2.wsdl4j/wsdl4j
output.setName(name);
代码示例来源:origin: org.wso2.wsdl.validator/wsdl-validator
output.setName(name);
代码示例来源:origin: apache/cxf
Output output = def.createOutput();
addDocumentation(output, operationInfo.getOutput().getDocumentation());
output.setName(operationInfo.getOutputName());
message = def.createMessage();
buildMessage(message, operationInfo.getOutput(), def);
代码示例来源:origin: org.apache.cxf/cxf-bundle-jaxrs
Output output = def.createOutput();
addDocumentation(output, operationInfo.getOutput().getDocumentation());
output.setName(operationInfo.getOutputName());
message = def.createMessage();
buildMessage(message, operationInfo.getOutput(), def);
代码示例来源:origin: org.apache.cxf/cxf-rt-core
Output output = def.createOutput();
addDocumentation(output, operationInfo.getOutput().getDocumentation());
output.setName(operationInfo.getOutputName());
message = def.createMessage();
buildMessage(message, operationInfo.getOutput(), def);
内容来源于网络,如有侵权,请联系作者删除!