Package samples.userguide

## Class MTOMSwAClient

- java.lang.Object
- - samples.userguide.MTOMSwAClient

-     public class MTOMSwAClient
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `MTOMSwAClient()` |

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static void` | `main​(String[] args)` |
    `static org.apache.axiom.om.OMElement` | `sendUsingMTOM​(String fileName, String targetEPR)` |
    `static org.apache.axis2.context.MessageContext` | `sendUsingSwA​(String fileName, String targetEPR)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MTOMSwAClient

          public MTOMSwAClient()

  - ### Method Detail

    - #### main

          public static void main​(String[] args)
                           throws Exception

      Throws:
        `Exception`

    - #### sendUsingSwA

          public static org.apache.axis2.context.MessageContext sendUsingSwA​(String fileName,
                                                                             String targetEPR)
                                                                      throws IOException

      Throws:
        `IOException`

    - #### sendUsingMTOM

          public static org.apache.axiom.om.OMElement sendUsingMTOM​(String fileName,
                                                                    String targetEPR)
                                                             throws IOException

      Throws:
        `IOException`