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

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

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

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.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: org.apache.axis2/axis2-kernel

axisBinding.setProperty(WSDLConstants.WSDL_1_1_STYLE,
            WSDLConstants.STYLE_DOC);
axisBinding.setProperty(WSDL2Constants.ATTR_WSOAP_VERSION,
            SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI);
origin: org.apache.axis2/axis2-kernel

axisBinding.setProperty(WSDLConstants.WSDL_1_1_STYLE,
            WSDLConstants.STYLE_DOC);
axisBinding.setProperty(WSDL2Constants.ATTR_WSOAP_VERSION,
            SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI);
origin: apache/axis2-java

axisBinding.setProperty(WSDLConstants.WSDL_1_1_STYLE,
            WSDLConstants.STYLE_DOC);
axisBinding.setProperty(WSDL2Constants.ATTR_WSOAP_VERSION,
            SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI);
origin: apache/axis2-java

axisBinding.setProperty(WSDLConstants.WSDL_1_1_STYLE,
            WSDLConstants.STYLE_DOC);
axisBinding.setProperty(WSDL2Constants.ATTR_WSOAP_VERSION,
            SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI);
origin: org.apache.axis2/axis2-kernel

  axisBinding.setProperty(WSDL2Constants.ATTR_WSOAP_VERSION,
              SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI);
    axisBinding.setProperty(WSDLConstants.WSDL_1_1_STYLE, style);
  AxisBinding axisBinding = (AxisBinding) description;
  axisBinding.setProperty(WSDL2Constants.ATTR_WSOAP_VERSION,
              SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI);
    axisBinding.setProperty(WSDLConstants.WSDL_1_1_STYLE, style);
  axisBinding.setProperty(WSDL2Constants.ATTR_WHTTP_METHOD, httpBinding.getVerb());
} else if (wsdl4jExtensibilityElement instanceof MIMEContent) {
  if (description instanceof AxisBindingMessage) {
origin: org.apache.axis2/axis2-kernel

axisBinding.setProperty(WSDL2Constants.ATTR_WHTTP_METHOD, "POST");
  axisBinding.setProperty(WSDL2Constants.HTTP_LOCATION_TABLE, httpLocationMap);
origin: apache/axis2-java

axisBinding.setProperty(WSDL2Constants.ATTR_WHTTP_METHOD, "POST");
  axisBinding.setProperty(WSDL2Constants.HTTP_LOCATION_TABLE, httpLocationMap);
origin: org.apache.axis2/axis2-kernel

if ((soapVersion = soapBindingExtensions.getSoapVersion()) != null) {
  if (soapVersion.equals(WSDL2Constants.SOAP_VERSION_1_1)) {
    axisBinding.setProperty(WSDL2Constants.ATTR_WSOAP_VERSION,
                SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI);
  } else {
    axisBinding.setProperty(WSDL2Constants.ATTR_WSOAP_VERSION,
                SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI);
  axisBinding.setProperty(WSDL2Constants.ATTR_WSOAP_VERSION,
              WSDL20DefaultValueHolder.getDefaultValue(
                  WSDL2Constants.ATTR_WSOAP_VERSION));
  axisBinding.setProperty(WSDL2Constants.ATTR_WSOAP_PROTOCOL,
              soapUnderlyingProtocol.toString());
  axisBinding.setProperty(WSDL2Constants.ATTR_WSOAP_MEP,
              soapMepDefault.toString());
axisBinding.setProperty(WSDL2Constants.ATTR_WHTTP_CONTENT_ENCODING,
            soapBindingExtensions.getHttpContentEncodingDefault());
axisBinding.setProperty(WSDL2Constants.ATTR_WSOAP_MODULE,
            createSoapModules(soapBindingExtensions.getSoapModules()));
axisBinding.setProperty(WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,
            soapBindingExtensions.getHttpQueryParameterSeparatorDefault());
  axisBinding.setProperty(WSDL2Constants.HTTP_LOCATION_TABLE, httpLocationTable);
  axisBinding.addChild(axisBindingOperation.getName(), axisBindingOperation);
origin: apache/axis2-java

  axisBinding.setProperty(WSDL2Constants.ATTR_WSOAP_VERSION,
              SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI);
    axisBinding.setProperty(WSDLConstants.WSDL_1_1_STYLE, style);
  AxisBinding axisBinding = (AxisBinding) description;
  axisBinding.setProperty(WSDL2Constants.ATTR_WSOAP_VERSION,
              SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI);
    axisBinding.setProperty(WSDLConstants.WSDL_1_1_STYLE, style);
  axisBinding.setProperty(WSDL2Constants.ATTR_WHTTP_METHOD, httpBinding.getVerb());
} else if (wsdl4jExtensibilityElement instanceof MIMEContent) {
  if (description instanceof AxisBindingMessage) {
origin: apache/axis2-java

if ((soapVersion = soapBindingExtensions.getSoapVersion()) != null) {
  if (soapVersion.equals(WSDL2Constants.SOAP_VERSION_1_1)) {
    axisBinding.setProperty(WSDL2Constants.ATTR_WSOAP_VERSION,
                SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI);
  } else {
    axisBinding.setProperty(WSDL2Constants.ATTR_WSOAP_VERSION,
                SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI);
  axisBinding.setProperty(WSDL2Constants.ATTR_WSOAP_VERSION,
              WSDL20DefaultValueHolder.getDefaultValue(
                  WSDL2Constants.ATTR_WSOAP_VERSION));
  axisBinding.setProperty(WSDL2Constants.ATTR_WSOAP_PROTOCOL,
              soapUnderlyingProtocol.toString());
  axisBinding.setProperty(WSDL2Constants.ATTR_WSOAP_MEP,
              soapMepDefault.toString());
axisBinding.setProperty(WSDL2Constants.ATTR_WHTTP_CONTENT_ENCODING,
            soapBindingExtensions.getHttpContentEncodingDefault());
axisBinding.setProperty(WSDL2Constants.ATTR_WSOAP_MODULE,
            createSoapModules(soapBindingExtensions.getSoapModules()));
axisBinding.setProperty(WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,
            soapBindingExtensions.getHttpQueryParameterSeparatorDefault());
  axisBinding.setProperty(WSDL2Constants.HTTP_LOCATION_TABLE, httpLocationTable);
  axisBinding.addChild(axisBindingOperation.getName(), axisBindingOperation);
origin: org.apache.axis2/axis2-kernel

axisBinding.setProperty(WSDL2Constants.ATTR_WHTTP_METHOD,
            httpMethodDefault);
axisBinding.setProperty(WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,
            httpBindingExtensions.getHttpQueryParameterSeparatorDefault());
axisBinding.setProperty(WSDL2Constants.ATTR_WHTTP_CONTENT_ENCODING,
            httpBindingExtensions.getHttpContentEncodingDefault());
  axisBinding.setProperty(WSDL2Constants.HTTP_LOCATION_TABLE, httpLocationTable);
  axisBinding.addChild(axisBindingOperation.getName(), axisBindingOperation);
origin: apache/axis2-java

axisBinding.setProperty(WSDL2Constants.ATTR_WHTTP_METHOD,
            httpMethodDefault);
axisBinding.setProperty(WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,
            httpBindingExtensions.getHttpQueryParameterSeparatorDefault());
axisBinding.setProperty(WSDL2Constants.ATTR_WHTTP_CONTENT_ENCODING,
            httpBindingExtensions.getHttpContentEncodingDefault());
  axisBinding.setProperty(WSDL2Constants.HTTP_LOCATION_TABLE, httpLocationTable);
  axisBinding.addChild(axisBindingOperation.getName(), axisBindingOperation);
origin: org.apache.axis2/axis2-kernel

  axisBinding.addChild(axisBindingOperation.getName(), axisBindingOperation);
axisBinding.setProperty(WSDL2Constants.HTTP_LOCATION_TABLE, httpLocationMap);
origin: apache/axis2-java

  axisBinding.addChild(axisBindingOperation.getName(), axisBindingOperation);
axisBinding.setProperty(WSDL2Constants.HTTP_LOCATION_TABLE, httpLocationMap);
org.apache.axis2.descriptionAxisBindingsetProperty

Popular methods of AxisBinding

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

Popular in Java

  • Reading from database using SQL prepared statement
  • setContentView (Activity)
  • requestLocationUpdates (LocationManager)
  • startActivity (Activity)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Runner (org.openjdk.jmh.runner)
  • From CI to AI: The AI layer in your organization
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