AxisService.setExposedTransports
Code IndexAdd Codota to your IDE (free)

Best code snippets using org.apache.axis2.description.AxisService.setExposedTransports(Showing top 3 results out of 315)

  • Common ways to obtain AxisService
private void myMethod () {
AxisService a =
  • MessageContext messageContext;messageContext.getAxisService()
  • new AxisService()
  • Iterator iterator;(AxisService) iterator.next()
  • Smart code suggestions by Codota
}
origin: org.apache.axis2/axis2-transport-base

public void disableTransportForService(AxisService service) {
  log.warn("Disabling the " + getTransportName() + " transport for the service "
      + service.getName() + ", because it is not configured properly for the service");
  if (service.isEnableAllTransports()) {
    ArrayList<String> exposedTransports = new ArrayList<String>();
    for(Object obj: cfgCtx.getAxisConfiguration().getTransportsIn().values()) {
      String transportName = ((TransportInDescription) obj).getName();
      if (!transportName.equals(getTransportName())) {
        exposedTransports.add(transportName);
      }
    }
    service.setEnableAllTransports(false);
    service.setExposedTransports(exposedTransports);
  } else {
    service.removeExposedTransport(getTransportName());
  }
}
origin: org.wso2.carbon.commons/org.wso2.carbon.wsdl2form

List<String> exposeTxList = new ArrayList<String>();
exposeTxList.add(ServerConstants.HTTP_TRANSPORT);
axisService.setExposedTransports(exposeTxList);
ByteArrayOutputStream wsdl2Bos = new ByteArrayOutputStream();
if (hostName == null || hostName.length() == 0) {
origin: org.apache.axis2/axis2-kernel

    + " and which is/are not available in Axis2");
service.setExposedTransports(trs);
org.apache.axis2.descriptionAxisServicesetExposedTransports

Popular methods of AxisService

  • getName
  • addParameter
  • getParameter
  • getOperations
    Method getOperations.
  • getClassLoader
    Method getClassLoader.
  • getParameterValue
  • <init>
    Constructor AxisService.
  • addOperation
    Method addOperation.
  • getAxisConfiguration
  • getOperation
    Method getOperation.
  • getSchema
  • isActive
  • getSchema,
  • isActive,
  • getAxisServiceGroup,
  • getEndpointName,
  • getEndpoints,
  • isEnableAllTransports,
  • printWSDL,
  • printWSDL2,
  • setName,
  • createService

Popular classes and methods

  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getExternalFilesDir (Context)
  • getSystemService (Context)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • MalformedURLException (java.net)
    Thrown to indicate that a malformed URL has occurred. Either no legal protocol could be found in a s
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • JList (javax.swing)

For IntelliJ IDEA,
Android Studio or Eclipse

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)