com.tekann.webservice.client
Class SOAP

java.lang.Object
  extended by com.tekann.webservice.client.AbstractSOAP
      extended by com.tekann.webservice.client.SOAP

public class SOAP
extends AbstractSOAP

Author:
SUPERWABA

Field Summary
 
Fields inherited from class com.tekann.webservice.client.AbstractSOAP
alternativeReturnTag, debug, disableEncoding, mtd, namespace, openTimeout, prefix, readTimeout, suffix, uri, wasCompressionUsed, writeTimeout
 
Constructor Summary
SOAP(java.lang.String mtd, java.lang.String uri)
          Constructs a SOAP request with the given parameters.
 
Method Summary
 java.lang.Object getAnswer()
          Returns the answer of the soap request.
 void parseAnswer(totalcross.io.Stream receivedStream)
          Parse response.
 
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, setParam
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SOAP

public SOAP(java.lang.String mtd,
            java.lang.String uri)
Constructs a SOAP request with the given parameters. The default namespace will be used, along with a open timeout of 25 seconds and a read timeout of 60 seconds.

Parameters:
mtd - The method you're calling.
uri - The complete URI.
Method Detail

getAnswer

public java.lang.Object getAnswer()
Description copied from class: AbstractSOAP
Returns the answer of the soap request. Important: the values may be escaped; use totalcross.ui.html.EscapeHtml.unescape to convert it back.

Specified by:
getAnswer in class AbstractSOAP
Returns:
Object

parseAnswer

public void parseAnswer(totalcross.io.Stream receivedStream)
                 throws java.lang.Exception
Description copied from class: AbstractSOAP
Parse response.

Specified by:
parseAnswer in class AbstractSOAP
Throws:
java.lang.Exception