Codota Logo
OperationInfo.getInputName
Code IndexAdd Codota to your IDE (free)

How to use
getInputName
method
in
org.apache.cxf.service.model.OperationInfo

Best Java code snippets using org.apache.cxf.service.model.OperationInfo.getInputName (Showing top 20 results out of 315)

  • Common ways to obtain OperationInfo
private void myMethod () {
OperationInfo o =
  • Codota IconBindingOperationInfo bop;bop.getOperationInfo()
  • Smart code suggestions by Codota
}
origin: org.apache.cxf/cxf-rt-frontend-jaxws

private void addInvokeOperation(QName operationName, boolean oneWay) {
  ServiceInfo info = client.getEndpoint().getEndpointInfo().getService();
  OperationInfo invokeOpInfo = info.getInterface()
          .getOperation(oneWay ? INVOKE_ONEWAY_QNAME : INVOKE_QNAME);
  OperationInfo opInfo = info.getInterface().addOperation(operationName);
  opInfo.setInput(invokeOpInfo.getInputName(), invokeOpInfo.getInput());
  if (!oneWay) {
    opInfo.setOutput(invokeOpInfo.getOutputName(), invokeOpInfo.getOutput());
  }
  for (BindingInfo bind : client.getEndpoint().getEndpointInfo().getService().getBindings()) {
    BindingOperationInfo bo = new BindingOperationInfo(bind, opInfo);
    bind.addOperation(bo);
  }
}
origin: org.apache.cxf/cxf-api

public BindingOperationInfo buildOperation(QName opName, String inName, String outName) {
  for (OperationInfo op : getInterface().getOperations()) {
    if (opName.equals(op.getName())
      && nameEquals(inName, op.getInputName(), op.getName().getLocalPart() + "Request")
      && nameEquals(outName, op.getOutputName(), op.getName().getLocalPart() + "Response")) {
      
      return new BindingOperationInfo(this, op);
    }
  }
  return null;
}
origin: apache/cxf

public BindingOperationInfo buildOperation(QName opName, String inName, String outName) {
  for (OperationInfo op : getInterface().getOperations()) {
    if (opName.equals(op.getName())
      && nameEquals(inName, op.getInputName(), op.getName().getLocalPart() + "Request")
      && nameEquals(outName, op.getOutputName(), op.getName().getLocalPart() + "Response")) {
      return new BindingOperationInfo(this, op);
    }
  }
  return null;
}
origin: org.apache.cxf/cxf-core

public BindingOperationInfo buildOperation(QName opName, String inName, String outName) {
  for (OperationInfo op : getInterface().getOperations()) {
    if (opName.equals(op.getName())
      && nameEquals(inName, op.getInputName(), op.getName().getLocalPart() + "Request")
      && nameEquals(outName, op.getOutputName(), op.getName().getLocalPart() + "Response")) {
      return new BindingOperationInfo(this, op);
    }
  }
  return null;
}
origin: org.apache.cxf/cxf-bundle-jaxrs

public BindingOperationInfo buildOperation(QName opName, String inName, String outName) {
  for (OperationInfo op : getInterface().getOperations()) {
    if (opName.equals(op.getName())
      && nameEquals(inName, op.getInputName(), op.getName().getLocalPart() + "Request")
      && nameEquals(outName, op.getOutputName(), op.getName().getLocalPart() + "Response")) {
      
      return new BindingOperationInfo(this, op);
    }
  }
  return null;
}
origin: org.apache.servicemix.cxf/org.apache.servicemix.cxf.binding.nmr

public BindingInfo createBindingInfo(ServiceInfo service, String namespace, Object config) {
  NMRBindingInfo info = new NMRBindingInfo(service, NMRConstants.NS_NMR_BINDING);
  info.setName(new QName(service.getName().getNamespaceURI(), 
              service.getName().getLocalPart() + "NMRBinding"));
  for (OperationInfo op : service.getInterface().getOperations()) {                       
    BindingOperationInfo bop = 
      info.buildOperation(op.getName(), op.getInputName(), op.getOutputName());
    info.addOperation(bop);
  }
  
  return info;
}
origin: org.apache.cxf/cxf-rt-bindings-object

public BindingInfo createBindingInfo(ServiceInfo si, String bindingid, Object config) {
  BindingInfo info = super.createBindingInfo(si, bindingid, config);
  
  if (config instanceof ObjectBindingConfiguration) {
    ObjectBindingConfiguration c = (ObjectBindingConfiguration) config;
    
    info.setProperty(RUN_NON_LOGICAL, c.isNonLogicalPhasesEnabled());
  }
  
  info.setName(new QName(si.getName().getNamespaceURI(), 
              si.getName().getLocalPart() + "ObjectBinding"));
  
  for (OperationInfo o : si.getInterface().getOperations()) {
    BindingOperationInfo bop = info.buildOperation(o.getName(), o.getInputName(), o.getOutputName());
    info.addOperation(bop);
  }
  return info;
}
origin: apache/cxf

public BindingInfo createBindingInfo(ServiceInfo service, String namespace, Object config) {
  BindingInfo info = new BindingInfo(service, "http://cxf.apache.org/bindings/xformat");
  info.setName(new QName(service.getName().getNamespaceURI(),
              service.getName().getLocalPart() + "XMLBinding"));
  for (OperationInfo op : service.getInterface().getOperations()) {
    adjustConcreteNames(op.getInput());
    adjustConcreteNames(op.getOutput());
    BindingOperationInfo bop =
      info.buildOperation(op.getName(), op.getInputName(), op.getOutputName());
    info.addOperation(bop);
  }
  return info;
}
origin: org.apache.cxf/cxf-bundle-jaxrs

public BindingInfo createBindingInfo(ServiceInfo service, String namespace, Object config) {
  BindingInfo info = new BindingInfo(service, "http://cxf.apache.org/bindings/xformat");        
  info.setName(new QName(service.getName().getNamespaceURI(), 
              service.getName().getLocalPart() + "XMLBinding"));
  for (OperationInfo op : service.getInterface().getOperations()) {
    adjustConcreteNames(op.getInput());
    adjustConcreteNames(op.getOutput());
    BindingOperationInfo bop = 
      info.buildOperation(op.getName(), op.getInputName(), op.getOutputName());
    info.addOperation(bop);
  }
  
  return info;
}
origin: org.apache.servicemix/servicemix-cxf-se

public BindingInfo createBindingInfo(ServiceInfo service, String namespace, Object config) {
  JBIBindingConfiguration configuration;
  if (config instanceof JBIBindingConfiguration) {
    configuration = (JBIBindingConfiguration) config;
  } else {
    configuration = new JBIBindingConfiguration();
  }
  JBIBindingInfo info = new JBIBindingInfo(service, JBIConstants.NS_JBI_BINDING);
  info.setJBIBindingConfiguration(configuration);
  info.setName(new QName(service.getName().getNamespaceURI(), 
              service.getName().getLocalPart() + "JBIBinding"));
  for (OperationInfo op : service.getInterface().getOperations()) {                       
    BindingOperationInfo bop = 
      info.buildOperation(op.getName(), op.getInputName(), op.getOutputName());
    info.addOperation(bop);
  }
  
  return info;
}
origin: org.apache.cxf/cxf-rt-bindings-http

BindingOperationInfo bop = info.buildOperation(o.getName(), o.getInputName(), o.getOutputName());
origin: apache/cxf

private static String getWSAAction(BindingOperationInfo boi) {
  Object o = boi.getOperationInfo().getInput().getProperty(CALCULATED_WSA_ACTION);
  if (o == null) {
    o = boi.getOperationInfo().getInput().getExtensionAttribute(JAXWSAConstants.WSAM_ACTION_QNAME);
    if (o == null) {
      o = boi.getOperationInfo().getInput().getExtensionAttribute(JAXWSAConstants.WSAW_ACTION_QNAME);
    }
    if (o == null) {
      String start = getActionBaseUri(boi.getOperationInfo());
      if (null == boi.getOperationInfo().getInputName()) {
        o = addPath(start, boi.getOperationInfo().getName().getLocalPart());
      } else {
        o = addPath(start, boi.getOperationInfo().getInputName());
      }
    }
    if (o != null) {
      boi.getOperationInfo().getInput().setProperty(CALCULATED_WSA_ACTION, o);
    }
  }
  return o.toString();
}
private static String getActionBaseUri(final OperationInfo operation) {
origin: org.apache.cxf/cxf-rt-bindings-soap

private static String getWSAAction(BindingOperationInfo boi) {
  Object o = boi.getOperationInfo().getInput().getProperty(CALCULATED_WSA_ACTION);
  if (o == null) {
    o = boi.getOperationInfo().getInput().getExtensionAttribute(JAXWSAConstants.WSAM_ACTION_QNAME);
    if (o == null) {
      o = boi.getOperationInfo().getInput().getExtensionAttribute(JAXWSAConstants.WSAW_ACTION_QNAME);
    }
    if (o == null) {
      String start = getActionBaseUri(boi.getOperationInfo());
      if (null == boi.getOperationInfo().getInputName()) {
        o = addPath(start, boi.getOperationInfo().getName().getLocalPart());
      } else {
        o = addPath(start, boi.getOperationInfo().getInputName());
      }
    }
    if (o != null) {
      boi.getOperationInfo().getInput().setProperty(CALCULATED_WSA_ACTION, o);
    }
  }
  return o.toString();
}
private static String getActionBaseUri(final OperationInfo operation) {
origin: openl-tablets/openl-tablets

  @Override
  public void handleMessage(Message message) {
    OperationInfo operationInfo = message.getExchange().get(OperationInfo.class);
    if (operationInfo != null) {
      String inputName = operationInfo.getInputName();
      RuleServiceLogging ruleServiceLogging = RuleServiceLoggingHolder.get();
      ruleServiceLogging.setInputName(inputName);
      MessageContentsList objs = MessageContentsList.getContentsList(message);
      if (objs != null) {
        Object[] params = new Object[objs.size()];
        for (int i = 0; i < params.length; i++) {
          params[i] = objs.get(i);
        }
        ruleServiceLogging.setParameters(params);
      }
    }
  }
}
origin: apache/cxf

} else if (null == op.getInputName()) {
  actionUri = addPath(opNamespace, op.getName().getLocalPart() + "Request");
} else {
  actionUri = addPath(opNamespace, op.getInputName());
origin: org.apache.cxf/cxf-rt-ws-addr

} else if (null == op.getInputName()) {
  actionUri = addPath(opNamespace, op.getName().getLocalPart() + "Request");
} else {
  actionUri = addPath(opNamespace, op.getInputName());
origin: apache/cxf

private void addInvokeOperation(QName operationName, boolean oneWay) {
  ServiceInfo info = client.getEndpoint().getEndpointInfo().getService();
  OperationInfo invokeOpInfo = info.getInterface()
          .getOperation(oneWay ? INVOKE_ONEWAY_QNAME : INVOKE_QNAME);
  OperationInfo opInfo = info.getInterface().addOperation(operationName);
  opInfo.setInput(invokeOpInfo.getInputName(), invokeOpInfo.getInput());
  if (!oneWay) {
    opInfo.setOutput(invokeOpInfo.getOutputName(), invokeOpInfo.getOutput());
  }
  for (BindingInfo bind : client.getEndpoint().getEndpointInfo().getService().getBindings()) {
    BindingOperationInfo bo = new BindingOperationInfo(bind, opInfo);
    bind.addOperation(bo);
  }
}
origin: apache/cxf

info.buildOperation(op.getName(), op.getInputName(), op.getOutputName());
origin: apache/cxf

Input input = def.createInput();
addDocumentation(input, operationInfo.getInput().getDocumentation());
input.setName(operationInfo.getInputName());
Message message = def.createMessage();
buildMessage(message, operationInfo.getInput(), def);
origin: org.apache.cxf/cxf-rt-core

Input input = def.createInput();
addDocumentation(input, operationInfo.getInput().getDocumentation());
input.setName(operationInfo.getInputName());
Message message = def.createMessage();
buildMessage(message, operationInfo.getInput(), def);
org.apache.cxf.service.modelOperationInfogetInputName

Popular methods of OperationInfo

  • getName
    Returns the name of the Operation.
  • getInput
  • getOutput
  • getInterface
  • getProperty
  • getUnwrappedOperation
  • isOneWay
  • getFaults
    Returns all faults for this operation.
  • getOutputName
  • isUnwrapped
  • isUnwrappedCapable
  • setProperty
  • isUnwrappedCapable,
  • setProperty,
  • setInput,
  • setOutput,
  • createMessage,
  • hasOutput,
  • addFault,
  • hasFaults,
  • equals

Popular in Java

  • Reactive rest calls using spring rest template
  • setRequestProperty (URLConnection)
  • findViewById (Activity)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • String (java.lang)
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • URLConnection (java.net)
    The abstract class URLConnection is the superclass of all classes that represent a communications li
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now