|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axis2.jaxws.sample.mtom.SampleMTOMTests
public class SampleMTOMTests
A sample client that uses MTOM to send an image using both the JAX-WS Dispatch and the Proxy.
| Constructor Summary | |
|---|---|
SampleMTOMTests()
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
Command Line Program Entry Point |
void |
parseArgs(java.lang.String[] args)
Read and interpret the command-line arguments. |
void |
setOptions(java.lang.String uri,
java.lang.Boolean soapdef,
java.lang.String fileName)
Set multiple class variables and init content. |
java.lang.String |
testMtomWithDispatch(java.lang.String result)
Tests sending an image with MTOM, using the JAX-WS Dispatch API. |
java.lang.String |
testMtomWithProxy(java.lang.String result)
Tests sending an image with MTOM, using a JAX-WS Dynamic Proxy. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SampleMTOMTests()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
throws java.lang.Exception
args - - see printUsage output
java.lang.Exceptionpublic void parseArgs(java.lang.String[] args)
args - String[] From the Command Line
public void setOptions(java.lang.String uri,
java.lang.Boolean soapdef,
java.lang.String fileName)
throws java.lang.Exception
uri - - String - base service URIsoapdef - - Boolean - true for SOAP 1.2fileName - - source file to send
java.lang.Exception
public java.lang.String testMtomWithDispatch(java.lang.String result)
throws java.lang.Exception
result - - String - used to pass back results to servlet.
java.lang.Exception
public java.lang.String testMtomWithProxy(java.lang.String result)
throws java.lang.Exception
result - - String - used to pass back results to servlet.
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||