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

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

Best Java code snippets using org.apache.cxf.service.model.OperationInfo.getOutputName (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: 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-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: 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

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

if (explicitAction != null) {
  actionUri = explicitAction;
} else if (null == op.getOutputName()) {
  actionUri = addPath(opNamespace, op.getName().getLocalPart() + "Response");
} else {
  actionUri = addPath(opNamespace, op.getOutputName());
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

unwrapped.setInput(opInfo.getInputName(), unwrappedInput);
if (outputMessage != null) {
  unwrapped.setOutput(opInfo.getOutputName(), unwrappedOutput);
origin: apache/cxf

info.buildOperation(op.getName(), op.getInputName(), op.getOutputName());
origin: org.apache.cxf/cxf-rt-bindings-soap

info.buildOperation(op.getName(), op.getInputName(), op.getOutputName());
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-rt-core

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);
org.apache.cxf.service.modelOperationInfogetOutputName

Popular methods of OperationInfo

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

Popular in Java

  • Running tasks concurrently on multiple threads
  • notifyDataSetChanged (ArrayAdapter)
  • addToBackStack (FragmentTransaction)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • String (java.lang)
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Dictionary (java.util)
    The Dictionary class is the abstract parent of any class, such as Hashtable, which maps keys to valu
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
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