org.ow2.easywsdl.wsdl.api.Operation.getInput()方法的使用及代码示例

x33g5p2x  于2022-01-26 转载在 其他  
字(4.2k)|赞(0)|评价(0)|浏览(177)

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

Operation.getInput介绍

暂无

代码示例

代码示例来源:origin: com.ebmwebsourcing.easybpel/easybpel.model.bpel.impl

&& (op.getInput().getMessageName().getLocalPart().equals((internalMessage.getContent()).getName())||
        ((op.getOutput() != null) && op.getOutput().getMessageName().getLocalPart().equals((internalMessage.getContent()).getName())))) {
  elmt = (org.jdom.Element) ((org.jdom.Element)internalMessage.getContent().getChildren().get(0)).clone();
if(direction.equals(REQUEST)&&(op.getInput() != null)) {
  if((op.getInput().getParts() != null)&& (op.getInput().getParts().size()>0) && (op.getInput().getParts().get(0).getType() != null)&&(op.getInput().getParts().get(0).getPartQName() != null)) {
    elmt.setName(op.getInput().getParts().get(0).getPartQName().getLocalPart());
if(((op.getInput().getParts() != null)&& (op.getInput().getParts().size() > 0) && (op.getInput().getParts().get(0).getType() != null))) {
  elmt.setNamespace(null);
if(((op.getInput().getParts() != null)&&(op.getInput().getParts().size() > 0)) || op.getInput().getElement() != null) {
  final org.jdom.Document doc = new org.jdom.Document(elmt);
  formattedMessage.setContent(doc.getRootElement());

代码示例来源:origin: com.ebmwebsourcing.easybpel/easybpel.model.bpel.tools.generator

String varName = op.getInput().getMessageName().getLocalPart()+"VarRequest";
this.bpelDef.createBPELElementVariable(varName,
    op.getInput().getMessageName(),
    BPELElementVariable.VariableType.MESSAGE);

代码示例来源:origin: com.ebmwebsourcing.easybpel/easybpel.model.bpel.tools.generator

String varName = op.getInput().getMessageName().getLocalPart()+"VarRequest";
bpelDef.createBPELElementVariable(varName,
    op.getInput().getMessageName(),
    BPELElementVariable.VariableType.MESSAGE);

代码示例来源:origin: com.ebmwebsourcing.easybpel/easybpel.model.bpel.impl

private BPELInternalMessage formatAsRpc(final BPELInternalMessage internalMessage, final BindingOperation bOp, final Operation op, final String direction) throws BPELException {
  final BPELInternalMessage formattedMessage = new BPELInternalMessageImpl();
  if(internalMessage != null) {
    formattedMessage.setEndpoint(internalMessage.getEndpoint());
    formattedMessage.setQName(internalMessage.getQName());
    formattedMessage.setService(internalMessage.getService());
    // change message name by the binding operation name
    final org.jdom.Element elmt = (org.jdom.Element) internalMessage.getContent().clone();
    String operationName = bOp.getQName().getLocalPart();
    if(direction.equals(RESPONSE)) {
      operationName = operationName + "Response";
    } 
    elmt.setName(operationName);
    if(!elmt.getNamespaceURI().equals(bOp.getQName().getNamespaceURI())) {
      elmt.setNamespace(Namespace.getNamespace(bOp.getQName().getNamespaceURI()));
    }
    if(((op.getInput().getParts() != null)&& (op.getInput().getParts().size() > 0)) || op.getInput().getElement() != null) {
      final org.jdom.Document doc = new org.jdom.Document(elmt);
      formattedMessage.setContent(doc.getRootElement());
    }
  } else {
    throw new BPELException("Internal message cannot be null.");
  }
  return formattedMessage;
}

代码示例来源:origin: org.wso2.carbon.governance-extensions/org.wso2.carbon.governance.soap.viewer

currentOperationIndex = operationIndex;
Input input = operation.getInput();

代码示例来源:origin: com.ebmwebsourcing.easybpel/easybpel.model.bpel.impl

throw new CoreException("Impossible to find " + message.getOperationName() + " in wsdl descriptions");
  message.setQName(op.getInput().getMessageName());
  this.log.finest("Message name setted: " + message.getQName());
} else {

代码示例来源:origin: org.ow2.easywsdl/wsdl

if (operation.getInput() != null) {
  BindingInput binput = bindingOperation.createInput();
  bindingOperation.setInput(binput);

代码示例来源:origin: org.ow2.petals/petals-bc-soap

final Input input = operation.getInput();
if (input != null) {
  if (desc.getVersion().equals(WSDLVersionConstants.WSDL11)) {

代码示例来源:origin: org.ow2.easywsdl/wsdl

if (operation.getInput() != null) {
  BindingInput binput = bindingOperation.createInput();
  bindingOperation.setInput(binput);

相关文章