|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ksoap2.transport.Transport
public abstract class Transport
Abstract class which holds common methods and members that are used by the transport layers. This class encapsulates the serialization and deserialization of the soap messages, leaving the basic communication routines to the subclasses.
Field Summary | |
---|---|
boolean |
debug
Set to true if debugging |
java.lang.String |
requestDump
String dump of request for debugging. |
java.lang.String |
responseDump
String dump of response for debugging |
Constructor Summary | |
---|---|
Transport()
|
|
Transport(java.lang.String url)
|
Method Summary | |
---|---|
abstract void |
call(java.lang.String targetNamespace,
SoapEnvelope envelope)
Perform a soap call with a given namespace and the given envelope. |
void |
reset()
Attempts to reset the connection. |
void |
setUrl(java.lang.String url)
Set the target url. |
void |
setXmlVersionTag(java.lang.String tag)
Sets the version tag for the outgoing soap call. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public boolean debug
public java.lang.String requestDump
public java.lang.String responseDump
Constructor Detail |
---|
public Transport()
public Transport(java.lang.String url)
Method Detail |
---|
public void setUrl(java.lang.String url)
url
- the target url.public void setXmlVersionTag(java.lang.String tag)
tag
- the xml string to set at the top of the soap message.public void reset()
public abstract void call(java.lang.String targetNamespace, SoapEnvelope envelope) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException
targetNamespace
- the namespace with which to perform the call in.envelope
- the envelope the contains the information for the call.
java.io.IOException
org.xmlpull.v1.XmlPullParserException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |