javax.jws.soap

## Annotation Type SOAPMessageHandler

- Deprecated.
  As of JSR-181 2.0 with no replacement.

      @Deprecated
      public @interface SOAPMessageHandler

  A single SOAP message handler

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `String` | `className` Deprecated. Name of the handler class.

  - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `String[]` | `headers` Deprecated. List of SOAP headers processed by the handler.
    `InitParam[]` | `initParams` Deprecated. Array of name/value pairs that should be passed to the handler during initialization.
    `String` | `name` Deprecated. Name of the handler.
    `String[]` | `roles` Deprecated. List of SOAP roles/actors implemented by the handler

- - ### Element Detail

    - #### className

          public abstract String className

      Deprecated.
      Name of the handler class.

    - #### name

          public abstract String name

      Deprecated.
      Name of the handler. Defaults to the name of the handler class.
      Default:
        ""

    - #### initParams

          public abstract InitParam[] initParams

      Deprecated.
      Array of name/value pairs that should be passed to the handler during initialization.
      Default:
        {}

    - #### roles

          public abstract String[] roles

      Deprecated.
      List of SOAP roles/actors implemented by the handler
      Default:
        {}

    - #### headers

          public abstract String[] headers

      Deprecated.
      List of SOAP headers processed by the handler. Each element in this array contains a QName which defines the header element processed by the handler. The QNames are specified using the string notation described in the documentation for javax.xml.namespace.QName.valueOf(String qNameAsString)
      Default:
        {}

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved.