Codota Logo
InterfaceType
Code IndexAdd Codota to your IDE (free)

How to use
InterfaceType
in
org.ow2.easywsdl.wsdl.api

Best Java code snippets using org.ow2.easywsdl.wsdl.api.InterfaceType (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
DateTime d =
  • Codota Iconnew DateTime()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseDateTime(text)
  • Codota IconObject instant;new DateTime(instant)
  • Smart code suggestions by Codota
}
origin: org.ow2.easywsdl/wsdl

public void setInterface(final InterfaceType interfaceType) {
  this.model.setType(interfaceType.getQName());
  this.itf = interfaceType;
}
origin: org.ow2.petals/petals-message-exchange

    wsdlDescription, logger);
if (interfaceType != null && interfaceType.getQName() != null) {
  for (final Operation operation : interfaceType.getOperations()) {
    if (operation.getQName() != null && operation.getPattern() != null) {
      meps.put(operation.getQName(), operation.getPattern());
origin: com.ebmwebsourcing.easybpel/easybpel.model.bpel.impl

op = itf.getOperation(new QName(itf.getQName().getNamespaceURI(), providerEndpoint.getInvokedOperation()));
    if((bindingItem.getInterface() != null) && bindingItem.getInterface().getQName().equals(itf.getQName())) {
      binding = bindingItem;
      break;
    throw new CoreException("Impossible to find binding corresponding to interface: " + itf.getQName());
origin: com.ebmwebsourcing.wsstar/ws-dm

final Operation op = itf.createOperation();
op.setQName(new QName(itf.getQName().getNamespaceURI(), "GetManageabilityReferences"));
itf.addOperation(op);
origin: com.ebmwebsourcing.easybpel/easybpel.model.bpel.tools.generator

InterfaceType current = itInterface.next();
Iterator<Operation> itOperation = current.getOperations().iterator();
while(itOperation.hasNext()){
  Operation op = itOperation.next();
origin: org.ow2.petals/petals-bc-rest

final Operation wsdlOperation = wsdlInterface.getOperation(operation);
if (wsdlOperation == null) {
  throw new MessagingException(String.format(
origin: com.ebmwebsourcing.easybpel/easybpel.model.bpel.impl

final Endpoint endpoint = service.getEndpoint(message.getEndpoint());
final InterfaceType itf = endpoint.getBinding().getInterface();
final Operation op = itf.getOperation(new QName(itf.getQName().getNamespaceURI(), message.getOperationName()));
if(op == null) {
  throw new CoreException("Impossible to find " + message.getOperationName() + " in wsdl descriptions");
origin: com.ebmwebsourcing.easybpel/easybpel.model.bpel.tools.generator

private void createVariablesForInterface(Description desc, QName interfaceQName, BPELProcess bpelDef) {
  Iterator<Operation> itOperation = desc.getInterface(interfaceQName).getOperations().iterator();
  while(itOperation.hasNext()){
    Operation op = itOperation.next();
origin: org.ow2.easywsdl/wsdl

public void setInterface(final InterfaceType interfaceType) {
  this.model.setInterface(interfaceType.getQName());
  this.itf = interfaceType;
}
origin: com.ebmwebsourcing.easybpel/easybpel.model.bpel.impl

      + interfaceName + "'.");
final Operation op = itf.getOperation(new QName(itf.getQName()
    .getNamespaceURI(), this.invoke.getOperation()));
if (op == null) {
  throw new CoreException(
origin: org.wso2.carbon.governance-extensions/org.wso2.carbon.governance.soap.viewer

endpointIndex = endpointIndex + 1;
List<Operation> operations = binding.getInterface().getOperations();
for (Operation operation : operations) {
  String operationName = operation.getQName().getLocalPart();
origin: org.ow2.easywsdl/wsdl

public void setInterface(InterfaceType itf) {
  this.model.setInterface(itf.getQName());
}
origin: org.ow2.petals/petals-se-camel

if (!provides.getInterfaceName().equals(interfaceType.getQName())) {
  throw new InvalidJBIConfigurationException("The interface of the endpoint '" + provides.getEndpointName()
      + "' is invalid: '" + interfaceType.getQName() + "' instead of '" + interfaceType + "'");
  final MEPPatternConstants mep = interfaceType.getOperation(qName).getPattern();
origin: org.ow2.easywsdl/wsdl

for (Operation operation : itf.getOperations()) {
  BindingOperation bindingOperation = binding.createBindingOperation();
  bindingOperation.setQName(operation.getQName());
origin: com.ebmwebsourcing.easybpel/easybpel.model.bpel.tools.generator

public BPELFromWSDLManager(URL wsdlURL) throws WSDLException, MalformedURLException, IOException, URISyntaxException{
  Description wsdlBpel = reader.read(wsdlURL);
  Iterator<InterfaceType> itInterfaces = wsdlBpel.getInterfaces().iterator();
  while(itInterfaces.hasNext()){
    InterfaceType currentInterface = itInterfaces.next();
    BPELProject project = new BPELGeneratorImpl().generateDefaultBPELProjectFromInterface(currentInterface.getQName(), wsdlBpel);
    this.bpelProjects.add(project);
  }
}
origin: org.ow2.easywsdl/wsdl

for (Operation operation : itf.getOperations()) {
  BindingOperation bindingOperation = binding.createBindingOperation();
  bindingOperation.setQName(operation.getQName());
origin: org.ow2.petals/petals-message-exchange

final InterfaceType interfaceType = getInterfaceFromService(serviceName, endpointName,
    wsdlDescription, logger);
if (interfaceType != null && interfaceType.getQName() != null) {
  result.add(interfaceType.getQName());
} else {
  logger.warning(
origin: com.ebmwebsourcing.easybpel/easybpel.model.bpel.tools.generator

public PartnerLinkType addPartnerLinkType(InterfaceType itf, String role) throws WSDL4BPELException{
  PartnerLinkType plt = new PartnerLinkTypeImpl(new TPartnerLinkType(), this.wsdlArtefacts);
  Role r = new RoleImpl(new TRole(), plt);
  r.setInterface(itf);
  r.setName(role);
  plt.addRole(r);
  QName pltQName = new QName(itf.getQName().getNamespaceURI(),itf.getQName().getLocalPart()+"PLT");
  plt.setQName(pltQName);
  this.wsdlArtefacts.addPartnerLinkType(plt);
  return plt;
}
origin: org.ow2.petals.dsb/dsb-kernel

/**
 * Get the endpoints of a given WSDL Description
 * 
 * @param description
 * @return
 */
public static final List<ServiceEndpoint> getEndpoints(Description description) {
  List<ServiceEndpoint> result = new ArrayList<ServiceEndpoint>();
  List<Service> services = description.getServices();
  for (Service service : services) {
    QName serviceName = service.getQName();
    List<Endpoint> endpoints = service.getEndpoints();
    for (Endpoint endpoint : endpoints) {
      ServiceEndpoint serviceEndpoint = new ServiceEndpoint();
      serviceEndpoint.setEndpoint(endpoint.getName());
      serviceEndpoint.setItf(new QName(endpoint.getBinding().getInterface().getQName()
          .getNamespaceURI(), endpoint.getBinding().getInterface().getQName()
          .getLocalPart()));
      serviceEndpoint.setService(new QName(serviceName.getNamespaceURI(), serviceName
          .getLocalPart()));
      result.add(serviceEndpoint);
    }
  }
  return result;
}
origin: com.ebmwebsourcing.easybpel/easybpel.model.bpel.tools.generator

/**
 * Add an import and its PLT in artefacts from a WSDL Description, a corresponding PL in BPEL
 * and variables corresponding to operations
 * @throws WSDLImportException 
 * @throws WSDLException 
 */
public void addPartner(Description wsdlDesc, String wsdlFileName) throws WSDLException, WSDLImportException{
  addArtefactImport(URI.create(wsdlFileName), wsdlDesc);
  if(wsdlDesc.getInterfaces().size()>0){
    PartnerLinkType plt = addPartnerLinkType(wsdlDesc.getInterfaces().get(0),
        wsdlDesc.getInterfaces().get(0).getQName().getLocalPart()+"Role");
    PartnerLink pl = this.bpelDef.createPartnerLink();
    pl.setPartnerLinkType(plt.getQName());
    pl.setName(pl.getPartnerLinkType().getLocalPart().substring(0, pl.getPartnerLinkType().getLocalPart().length()-1));
    if(plt.getRoles().size()>0){
      pl.setPartnerRole(plt.getRoles().get(0).getName());
    }
    createVariables(wsdlDesc);
  }
}
org.ow2.easywsdl.wsdl.apiInterfaceType

Javadoc

This interface represents a port type. It contains information about operations associated with this port type.

Most used methods

  • getQName
  • getOperations
  • getOperation
  • addOperation
  • createOperation
  • setQName

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSystemService (Context)
  • findViewById (Activity)
  • requestLocationUpdates (LocationManager)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • JTable (javax.swing)
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Logger (org.slf4j)
    The main user interface to logging. It is expected that logging takes place through concrete impleme
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