com.tekann.webservice.client
Class DTOSOAP
java.lang.Object
com.tekann.webservice.client.AbstractSOAP
com.tekann.webservice.client.ParserSOAP
com.tekann.webservice.client.DTOSOAP
public class DTOSOAP
- extends ParserSOAP
- Author:
- evandro
| Fields inherited from class com.tekann.webservice.client.AbstractSOAP |
alternativeReturnTag, debug, disableEncoding, mtd, namespace, openTimeout, prefix, readTimeout, suffix, uri, wasCompressionUsed, writeTimeout |
|
Constructor Summary |
DTOSOAP(java.lang.String mtd,
java.lang.String uri)
Constructs the DTOMobiSOAP |
|
Method Summary |
void |
setDTOParam(java.lang.String paramName,
com.tekann.codegen.pda.db.IDTO param)
Sets the object parameter |
void |
setParam(byte[] value,
java.lang.String paramName)
CAUTION: Use this method if and ONLY if you are going
to send a small byte array. |
void |
setParam(totalcross.io.ByteArrayStream value,
java.lang.String paramName)
Useful for huge amount of data. |
| Methods inherited from class com.tekann.webservice.client.AbstractSOAP |
execute, setObjectParam, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setParam |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DTOSOAP
public DTOSOAP(java.lang.String mtd,
java.lang.String uri)
- Constructs the DTOMobiSOAP
- Parameters:
mtd - uri -
setDTOParam
public void setDTOParam(java.lang.String paramName,
com.tekann.codegen.pda.db.IDTO param)
- Sets the object parameter
- Parameters:
paramName - param -
setParam
public void setParam(byte[] value,
java.lang.String paramName)
- CAUTION: Use this method if and ONLY if you are going
to send a small byte array.
Use setParam(ByteArrayStream value, String paramName) instead
to use large amount of data.
- Overrides:
setParam in class AbstractSOAP
setParam
public void setParam(totalcross.io.ByteArrayStream value,
java.lang.String paramName)
- Useful for huge amount of data. This method is used when
it's necessary to send big amount of data that can cause the
app to crash causing an OutOfMemoryError. Using a ByteArrayStream
it's harder to happen.
- Parameters:
value - paramName -