Tabnine Logo
AxisBinding.setType
Code IndexAdd Tabnine to your IDE (free)

How to use
setType
method
in
org.apache.axis2.description.AxisBinding

Best Java code snippets using org.apache.axis2.description.AxisBinding.setType (Showing top 13 results out of 315)

origin: org.wso2.carbon.data/org.wso2.carbon.dataservices.core

/**
 * Creates a AxisBinding and populates it with default HTTP properties
 */
private AxisBinding createDefaultHTTPBinding(String name, String interfaceName) {
  AxisBinding httpBinding = new AxisBinding();
  httpBinding.setName(new QName(name + Java2WSDLConstants.HTTP_BINDING));
  httpBinding.setType(WSDL2Constants.URI_WSDL2_HTTP);
  httpBinding.setProperty(WSDL2Constants.INTERFACE_LOCAL_NAME, interfaceName);
  httpBinding.setProperty(WSDL2Constants.HTTP_LOCATION_TABLE, httpLocationTable);
  httpBinding.setProperty(WSDL2Constants.HTTP_LOCATION_TABLE_FOR_RESOURCE, httpLocationTableForResource);
  return httpBinding;
}
origin: apache/axis2-java

private AxisBinding processBinding(Binding binding, Interface serviceInterface)
    throws AxisFault {
  AxisBinding axisBinding = new AxisBinding();
  axisBinding.setName(binding.getName());
  String bindingType = binding.getType().toString();
  axisBinding.setType(bindingType);
  if (bindingType.equals(WSDL2Constants.URI_WSDL2_SOAP)) {
    processSOAPBindingExtention(binding, axisBinding, serviceInterface);
  } else if (bindingType.equals(WSDL2Constants.URI_WSDL2_HTTP)) {
    processHTTPBindingExtention(binding, axisBinding, serviceInterface);
  }
  // We should process the interface based on the service not on a binding
  processedBindings.put(binding.getName(), axisBinding);
  addDocumentation(axisBinding, binding.toElement());
  return axisBinding;
}
origin: org.apache.axis2/axis2-kernel

private AxisBinding processBinding(Binding binding, Interface serviceInterface)
    throws AxisFault {
  AxisBinding axisBinding = new AxisBinding();
  axisBinding.setName(binding.getName());
  String bindingType = binding.getType().toString();
  axisBinding.setType(bindingType);
  if (bindingType.equals(WSDL2Constants.URI_WSDL2_SOAP)) {
    processSOAPBindingExtention(binding, axisBinding, serviceInterface);
  } else if (bindingType.equals(WSDL2Constants.URI_WSDL2_HTTP)) {
    processHTTPBindingExtention(binding, axisBinding, serviceInterface);
  }
  // We should process the interface based on the service not on a binding
  processedBindings.put(binding.getName(), axisBinding);
  addDocumentation(axisBinding, binding.toElement());
  return axisBinding;
}
origin: org.wso2.carbon.data/org.wso2.carbon.dataservices.core

/**
 * Creates a AxisBinding and populates it with default SOAP 1.1 properties
 */
private AxisBinding createDefaultSOAP11Binding(String name, String interfaceName) {
  AxisBinding soap11Binding = new AxisBinding();
  soap11Binding.setName(new QName(name + Java2WSDLConstants.BINDING_NAME_SUFFIX));
  soap11Binding.setType(WSDL2Constants.URI_WSDL2_SOAP);
  soap11Binding.setProperty(WSDL2Constants.ATTR_WSOAP_PROTOCOL, WSDL2Constants.HTTP_PROTOCAL);
  soap11Binding.setProperty(WSDL2Constants.ATTR_WSOAP_VERSION, SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI);
  soap11Binding.setProperty(WSDL2Constants.INTERFACE_LOCAL_NAME, interfaceName);
  soap11Binding.setProperty(WSDL2Constants.HTTP_LOCATION_TABLE, httpLocationTable);
  soap11Binding.setProperty(WSDL2Constants.HTTP_LOCATION_TABLE_FOR_RESOURCE, httpLocationTableForResource);
  return soap11Binding;
}
origin: org.wso2.carbon.data/org.wso2.carbon.dataservices.core

/**
 * Creates a AxisBinding and populates it with default SOAP 1.2 properties
 */
private AxisBinding createDefaultSOAP12Binding(String name, String interfaceName) {
  AxisBinding soap12Binding = new AxisBinding();
  soap12Binding.setName(new QName(name + Java2WSDLConstants.SOAP12BINDING_NAME_SUFFIX));
  soap12Binding.setType(WSDL2Constants.URI_WSDL2_SOAP);
  soap12Binding.setProperty(WSDL2Constants.ATTR_WSOAP_PROTOCOL, WSDL2Constants.HTTP_PROTOCAL);
  soap12Binding.setProperty(WSDL2Constants.ATTR_WSOAP_VERSION, SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI);
  soap12Binding.setProperty(WSDL2Constants.INTERFACE_LOCAL_NAME, interfaceName);
  soap12Binding.setProperty(WSDL2Constants.HTTP_LOCATION_TABLE, httpLocationTable);
  soap12Binding.setProperty(WSDL2Constants.HTTP_LOCATION_TABLE_FOR_RESOURCE, httpLocationTableForResource);
  return soap12Binding;
}
origin: org.apache.axis2/axis2-kernel

axisBinding.setName(bindingName);
axisBinding.setType(Java2WSDLConstants.TRANSPORT_URI);
axisBinding.setProperty(WSDLConstants.WSDL_1_1_STYLE,
            WSDLConstants.STYLE_DOC);
origin: org.apache.axis2/axis2-kernel

axisBinding.setName(bindingName);
axisBinding.setType(Java2WSDLConstants.TRANSPORT_URI);
axisBinding.setProperty(WSDLConstants.WSDL_1_1_STYLE,
            WSDLConstants.STYLE_DOC);
origin: apache/axis2-java

axisBinding.setName(bindingName);
axisBinding.setType(Java2WSDLConstants.TRANSPORT_URI);
axisBinding.setProperty(WSDLConstants.WSDL_1_1_STYLE,
            WSDLConstants.STYLE_DOC);
origin: apache/axis2-java

axisBinding.setName(bindingName);
axisBinding.setType(Java2WSDLConstants.TRANSPORT_URI);
axisBinding.setProperty(WSDLConstants.WSDL_1_1_STYLE,
            WSDLConstants.STYLE_DOC);
origin: org.apache.axis2/axis2-kernel

  AxisBinding axisBinding = (AxisBinding) description;
  axisBinding.setType(soapBinding.getTransportURI());
  axisBinding.setType(transportURI);
  AxisBinding axisBinding = (AxisBinding) description;
  axisBinding.setType(WSDL2Constants.URI_WSDL2_HTTP);
  axisBinding.setProperty(WSDL2Constants.ATTR_WHTTP_METHOD, httpBinding.getVerb());
} else if (wsdl4jExtensibilityElement instanceof MIMEContent) {
origin: org.apache.axis2/axis2-kernel

axisBinding.setName(bindingName);
axisBinding.setType(WSDL2Constants.URI_WSDL2_HTTP);
axisBinding.setProperty(WSDL2Constants.ATTR_WHTTP_METHOD, "POST");
origin: apache/axis2-java

  AxisBinding axisBinding = (AxisBinding) description;
  axisBinding.setType(soapBinding.getTransportURI());
  axisBinding.setType(transportURI);
  AxisBinding axisBinding = (AxisBinding) description;
  axisBinding.setType(WSDL2Constants.URI_WSDL2_HTTP);
  axisBinding.setProperty(WSDL2Constants.ATTR_WHTTP_METHOD, httpBinding.getVerb());
} else if (wsdl4jExtensibilityElement instanceof MIMEContent) {
origin: apache/axis2-java

axisBinding.setName(bindingName);
axisBinding.setType(WSDL2Constants.URI_WSDL2_HTTP);
axisBinding.setProperty(WSDL2Constants.ATTR_WHTTP_METHOD, "POST");
org.apache.axis2.descriptionAxisBindingsetType

Popular methods of AxisBinding

  • getName
  • getChild
  • getProperty
  • getPolicySubject
  • <init>
  • addChild
  • getChildren
  • getType
  • setName
  • setProperty
  • addFault
  • getAxisEndpoint
  • addFault,
  • getAxisEndpoint,
  • getEffectivePolicy,
  • getFault,
  • getParameterValue,
  • setParent,
  • toWSDL20

Popular in Java

  • Reactive rest calls using spring rest template
  • addToBackStack (FragmentTransaction)
  • notifyDataSetChanged (ArrayAdapter)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • JButton (javax.swing)
  • Top Vim plugins
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