本文整理了Java中javax.wsdl.Output.setMessage()
方法的一些代码示例,展示了Output.setMessage()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Output.setMessage()
方法的具体详情如下:
包路径:javax.wsdl.Output
类名称:Output
方法名:setMessage
暂无
代码示例来源:origin: wsdl4j/wsdl4j
output.setMessage(message);
代码示例来源: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: spring-projects/spring-ws
output.setMessage(message);
populateOutput(definition, output);
operation.setOutput(output);
代码示例来源:origin: org.springframework.ws/org.springframework.ws
output.setMessage(message);
populateOutput(definition, output);
operation.setOutput(output);
代码示例来源:origin: apache/servicemix-bundles
output.setMessage(message);
populateOutput(definition, output);
operation.setOutput(output);
代码示例来源:origin: org.springframework.ws/spring-ws-core
output.setMessage(message);
populateOutput(definition, output);
operation.setOutput(output);
代码示例来源:origin: org.apache.axis/axis
output.setMessage(msg);
代码示例来源: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.setMessage(msg);
代码示例来源:origin: org.apache.tuscany.sca/tuscany-binding-ws-wsdlgen
output.setMessage(outputMsg);
代码示例来源:origin: org.apache.servicemix/servicemix-common
if (defOper.getOutput().getMessage() != null) {
Message flatOutputMsg = copyMessage(defOper.getOutput().getMessage(), flat);
flatOutput.setMessage(flatOutputMsg);
flat.addMessage(flatOutputMsg);
代码示例来源:origin: org.jboss.ws.native/jbossws-native-core
output.setMessage(message);
代码示例来源:origin: org.wso2.wsdl4j/wsdl4j
output.setMessage(message);
代码示例来源:origin: org.wso2.wsdl.validator/wsdl-validator
output.setMessage(message);
代码示例来源:origin: org.apache.ode/ode-jbi
if (defOper.getOutput().getMessage() != null) {
Message flatOutputMsg = copyMessage(defOper.getOutput().getMessage(), flat);
flatOutput.setMessage(flatOutputMsg);
flat.addMessage(flatOutputMsg);
代码示例来源:origin: apache/cxf
this.addExtensibilityAttributes(def, output, getOutputExtensionAttributes(operationInfo));
this.addExtensibilityElements(def, output, getWSDL11Extensors(operationInfo.getOutput()));
output.setMessage(message);
operation.setOutput(output);
代码示例来源:origin: org.apache.cxf/cxf-bundle-jaxrs
this.addExtensibilityAttributes(def, output, getOutputExtensionAttributes(operationInfo));
this.addExtensibilityElements(def, output, getWSDL11Extensors(operationInfo.getOutput()));
output.setMessage(message);
operation.setOutput(output);
代码示例来源:origin: org.apache.cxf/cxf-rt-core
this.addExtensibilityAttributes(def, output, getOutputExtensionAttributes(operationInfo));
this.addExtensibilityElements(def, output, getWSDL11Extensors(operationInfo.getOutput()));
output.setMessage(message);
operation.setOutput(output);
内容来源于网络,如有侵权,请联系作者删除!