Tabnine Logo
org.apache.axis2.description
Code IndexAdd Tabnine to your IDE (free)

How to use org.apache.axis2.description

Best Java code snippets using org.apache.axis2.description (Showing top 20 results out of 1,674)

origin: org.apache.axis2/axis2-kernel

protected void addAnonymousOperations(){
  RobustOutOnlyAxisOperation robustoutoonlyOperation =
      new RobustOutOnlyAxisOperation(ServiceClient.ANON_ROBUST_OUT_ONLY_OP);
  _service.addOperation(robustoutoonlyOperation);
  OutOnlyAxisOperation outOnlyOperation = new OutOnlyAxisOperation(ServiceClient.ANON_OUT_ONLY_OP);
  _service.addOperation(outOnlyOperation);
  OutInAxisOperation outInOperation = new OutInAxisOperation(ServiceClient.ANON_OUT_IN_OP);
  _service.addOperation(outInOperation);
}
origin: org.apache.axis2/axis2-kernel

  @Override
  public void applyPolicy() throws AxisFault {
    getAxisEndpoint().getAxisService().applyPolicy();
  }
}
origin: org.apache.axis2/axis2-kernel

public XmlSchemaElement getSchemaElement() {
  XmlSchemaElement xmlSchemaElement = null;
  AxisService service = getAxisOperation().getAxisService();
  ArrayList schemas = service.getSchema();
  for (Object schema : schemas) {
    xmlSchemaElement = getSchemaElement((XmlSchema)schema);
    if (xmlSchemaElement != null) {
      break;
    }
  }
  return xmlSchemaElement;
}
origin: org.wso2.carbon.business-process/org.wso2.carbon.bpel

private AxisServiceGroup createServiceGroupForService(AxisService svc) throws AxisFault {
  AxisServiceGroup svcGroup = new AxisServiceGroup();
  svcGroup.setServiceGroupName(svc.getName());
  svcGroup.addService(svc);
  // Checking configured using files param is not a good solution. We must figure out a way to handle this
  // at Carbon persistence manager layer.
  if (svc.getParameter(CarbonConstants.PRESERVE_SERVICE_HISTORY_PARAM) != null &&
      svc.getParameter(BusinessProcessConstants.CONFIGURED_USING_BPEL_PKG_CONFIG_FILES) == null) {
    svcGroup.addParameter(new Parameter(CarbonConstants.PRESERVE_SERVICE_HISTORY_PARAM, "true"));
  }
  return svcGroup;
}
origin: org.apache.axis2/axis2-kernel

public WSDLToAxisServiceBuilder(InputStream in, QName serviceName) {
  this.in = in;
  this.serviceName = serviceName;
  this.axisService = new AxisService();
  setPolicyRegistryFromService(axisService);
}
origin: org.apache.axis2/axis2-kernel

public WSDL20ToAxisServiceBuilder(InputStream in, QName serviceName,
                 String interfaceName) {
  this.in = in;
  this.serviceName = serviceName;
  this.interfaceName = interfaceName;
  this.axisService = new AxisService();
  setPolicyRegistryFromService(axisService);
}
origin: org.apache.axis2/axis2-kernel

protected OMElement generateInterface(OMFactory omFactory) throws AxisFault, URISyntaxException, XMLStreamException, FactoryConfigurationError {
  Parameter parameter = axisService.getParameter(WSDL2Constants.INTERFACE_LOCAL_NAME);
    if (parameter != null) {
    interfaceName = (String) parameter.getValue();
  } else {
    interfaceName = WSDL2Constants.DEFAULT_INTERFACE_NAME;
  }
  // Add the interface element
   return getInterfaceElement(wsdl, tns, wsdlx, wrpc, omFactory,
                          interfaceName);
}

origin: org.apache.axis2/axis2-kernel

private String getRequestElementSuffix() {
  String requestElementSuffix = null;
  Parameter param = service.getParameter(Java2WSDLConstants.REQUEST_ELEMENT_SUFFIX_OPTION_LONG);
  if (param != null) {
    requestElementSuffix = (String) param.getValue();
  }
  return requestElementSuffix;
}
origin: org.apache.axis2/axis2-kernel

public Object getParameterValue(String name) {
  Parameter param = getParameter(name);
  if (param == null) {
    return null;
  }
  return param.getValue();
}
origin: org.apache.axis2/axis2-kernel

public AxisService2WSDL11(AxisService service) throws Exception {
  this.axisService = service;
  this.serviceName = service.getName();
  init();
}
origin: org.apache.axis2/axis2-kernel

private AxisBinding findBinding() {
  if (axisService != null) {
    if (axisService.getEndpointName() != null) {
      AxisEndpoint axisEndpoint = axisService
          .getEndpoint(axisService.getEndpointName());
      if (axisEndpoint != null) {
        return axisEndpoint.getBinding();
      }
    }
  }
  return null;
}
origin: org.apache.axis2/axis2-kernel

public boolean isParameterLocked(String parameterName) {
  // checking the locked value of parent
  boolean locked = false;
  if (getParent() != null) {
    locked = getParent().isParameterLocked(parameterName);
  }
  if (locked) {
    return true;
  } else {
    Parameter parameter = getParameter(parameterName);
    return (parameter != null) && parameter.isLocked();
  }
}
origin: org.apache.axis2/axis2-kernel

public boolean isParameterLocked(String parameterName) {
  // checking the locked value of parent
  boolean locked = false;
  if (getParent() != null) {
    locked = getParent().isParameterLocked(parameterName);
  }
  if (locked) {
    return true;
  } else {
    Parameter parameter = getParameter(parameterName);
    return (parameter != null) && parameter.isLocked();
  }
}
origin: org.apache.axis2/axis2-kernel

public boolean isParameterLocked(String parameterName) {
  if (this.parent != null && this.parent.isParameterLocked(parameterName)) {
    return true;
  }
  Parameter parameter = getParameter(parameterName);
  return parameter != null && parameter.isLocked();
}
origin: org.apache.axis2/axis2-kernel

/**
 * Constructor HandlerDescription.
 */
public HandlerDescription() {
  this.parameterInclude = new ParameterIncludeImpl();
  this.rules = new PhaseRule();
}
origin: org.apache.axis2/axis2-kernel

  @Override
  public void applyPolicy() throws AxisFault {
    getAxisService().applyPolicy();
  }
}
origin: org.apache.axis2/axis2-kernel

  @Override
  public void applyPolicy() throws AxisFault {
    getAxisMessage().applyPolicy();
  }
}
origin: apache/axis2-java

protected void addAnonymousOperations(){
  RobustOutOnlyAxisOperation robustoutoonlyOperation =
      new RobustOutOnlyAxisOperation(ServiceClient.ANON_ROBUST_OUT_ONLY_OP);
  _service.addOperation(robustoutoonlyOperation);
  OutOnlyAxisOperation outOnlyOperation = new OutOnlyAxisOperation(ServiceClient.ANON_OUT_ONLY_OP);
  _service.addOperation(outOnlyOperation);
  OutInAxisOperation outInOperation = new OutInAxisOperation(ServiceClient.ANON_OUT_IN_OP);
  _service.addOperation(outInOperation);
}
origin: apache/axis2-java

protected OMElement generateInterface(OMFactory omFactory) throws AxisFault, URISyntaxException, XMLStreamException, FactoryConfigurationError {
  Parameter parameter = axisService.getParameter(WSDL2Constants.INTERFACE_LOCAL_NAME);
    if (parameter != null) {
    interfaceName = (String) parameter.getValue();
  } else {
    interfaceName = WSDL2Constants.DEFAULT_INTERFACE_NAME;
  }
  // Add the interface element
   return getInterfaceElement(wsdl, tns, wsdlx, wrpc, omFactory,
                          interfaceName);
}

origin: apache/axis2-java

public XmlSchemaElement getSchemaElement() {
  XmlSchemaElement xmlSchemaElement = null;
  AxisService service = getAxisOperation().getAxisService();
  ArrayList schemas = service.getSchema();
  for (Object schema : schemas) {
    xmlSchemaElement = getSchemaElement((XmlSchema)schema);
    if (xmlSchemaElement != null) {
      break;
    }
  }
  return xmlSchemaElement;
}
org.apache.axis2.description

Most used classes

  • AxisService
    Class AxisService
  • AxisOperation
  • TransportOutDescription
    Represents a transport deployed in AXis2
  • OutInAxisOperation
  • Parameter
    Class Parameter
  • TransportInDescription,
  • AxisMessage,
  • OutOnlyAxisOperation,
  • AxisServiceGroup,
  • HandlerDescription,
  • AxisEndpoint,
  • AxisModule,
  • PolicySubject,
  • ParameterInclude,
  • AxisBinding,
  • AxisDescription,
  • InOutAxisOperation,
  • WSDL11ToAxisServiceBuilder,
  • AxisBindingOperation
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now