View Javadoc

    1   package org.codehaus.xfire.annotations.backport175.soap;
    2
    3   /***
    4    * @author Arjen Poutsma
    5    */
    6   public interface SOAPBinding
    7   {
    8       /***
    9        * Returns the SOAP binding style, which defines the encoding style for messages send to and from the Web Service.
    10       * The returned value is one of {@link org.codehaus.xfire.annotations.soap.SOAPBindingAnnotation#STYLE_DOCUMENT} or
    11       * {@link org.codehaus.xfire.annotations.soap.SOAPBindingAnnotation#STYLE_RPC}.
    12       *
    13       * @return the SOAP binding style.
    14       */
    15      int style();
    16
    17      /***
    18       * Returns the SOAP binding use, which defines the formatting style for messages sent to and from the Web Service.
    19       * The returned value is one of {@link org.codehaus.xfire.annotations.soap.SOAPBindingAnnotation#USE_LITERAL} or
    20       * {@link org.codehaus.xfire.annotations.soap.SOAPBindingAnnotation#USE_ENCODED}.
    21       *
    22       * @return the SOAP binding use.
    23       */
    24      int use();
    25
    26      /***
    27       * Returns the SOAP parameter binding style. This style determines whether method parameters represent the entire
    28       * message body, or whether the parameters are elements wrapped inside a top-level element named after the
    29       * operation.
    30       * <p/>
    31       * The returned value is one of {@link org.codehaus.xfire.annotations.soap.SOAPBindingAnnotation#PARAMETER_STYLE_BARE}
    32       * or {@link org.codehaus.xfire.annotations.soap.SOAPBindingAnnotation#PARAMETER_STYLE_WRAPPED}.
    33       *
    34       * @return the SOAP parameter binding style.
    35       */
    36      int parameterStyle();
    37  }