|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ksoap2.SoapEnvelope org.ksoap2.serialization.SoapSerializationEnvelope
public class SoapSerializationEnvelope
Field Summary | |
---|---|
boolean |
dotNet
Set this variable to true for compatibility with what seems to be the default encoding for .Net-Services. |
boolean |
implicitTypes
|
java.util.Hashtable |
properties
|
Fields inherited from class org.ksoap2.SoapEnvelope |
---|
bodyIn, bodyOut, enc, ENC, ENC2001, encodingStyle, env, ENV, ENV2001, headerIn, headerOut, VER10, VER11, VER12, version, xsd, XSD, XSD1999, xsi, XSI, XSI1999 |
Constructor Summary | |
---|---|
SoapSerializationEnvelope(int version)
|
Method Summary | |
---|---|
void |
addMapping(java.lang.String namespace,
java.lang.String name,
java.lang.Class clazz)
Defines a direct mapping from a namespace and name to a java class (and vice versa) |
void |
addMapping(java.lang.String namespace,
java.lang.String name,
java.lang.Class clazz,
Marshal marshal)
Defines a direct mapping from a namespace and name to a java class (and vice versa), using the given marshal mechanism |
void |
addTemplate(SoapObject so)
Adds a SoapObject to the class map. |
java.lang.Object[] |
getInfo(java.lang.Object type,
java.lang.Object instance)
Returns a string array containing the namespace, name, id and Marshal object for the given java object. |
java.lang.Object |
getResponse()
Response from the soap call. |
java.lang.Object |
getResult()
Deprecated. Please use the getResponse going forward |
void |
parseBody(org.xmlpull.v1.XmlPullParser parser)
|
java.lang.Object |
read(org.xmlpull.v1.XmlPullParser parser,
java.lang.Object owner,
int index,
java.lang.String namespace,
java.lang.String name,
PropertyInfo expected)
Builds an object from the XML stream. |
java.lang.Object |
readInstance(org.xmlpull.v1.XmlPullParser parser,
java.lang.String namespace,
java.lang.String name,
PropertyInfo expected)
Returns a new object read from the given parser. |
void |
writeBody(org.xmlpull.v1.XmlSerializer writer)
Serializes the request object to the given XmlSerliazer object |
void |
writeObjectBody(org.xmlpull.v1.XmlSerializer writer,
KvmSerializable obj)
Writes the body of an KvmSerializable object. |
Methods inherited from class org.ksoap2.SoapEnvelope |
---|
parse, parseHeader, setOutputSoapObject, stringToBoolean, write, writeHeader |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.util.Hashtable properties
public boolean implicitTypes
public boolean dotNet
Constructor Detail |
---|
public SoapSerializationEnvelope(int version)
Method Detail |
---|
public void parseBody(org.xmlpull.v1.XmlPullParser parser) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException
parseBody
in class SoapEnvelope
java.io.IOException
org.xmlpull.v1.XmlPullParserException
public java.lang.Object read(org.xmlpull.v1.XmlPullParser parser, java.lang.Object owner, int index, java.lang.String namespace, java.lang.String name, PropertyInfo expected) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException
java.io.IOException
org.xmlpull.v1.XmlPullParserException
public java.lang.Object readInstance(org.xmlpull.v1.XmlPullParser parser, java.lang.String namespace, java.lang.String name, PropertyInfo expected) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException
java.io.IOException
org.xmlpull.v1.XmlPullParserException
public java.lang.Object[] getInfo(java.lang.Object type, java.lang.Object instance)
public void addMapping(java.lang.String namespace, java.lang.String name, java.lang.Class clazz, Marshal marshal)
public void addMapping(java.lang.String namespace, java.lang.String name, java.lang.Class clazz)
public void addTemplate(SoapObject so)
public java.lang.Object getResponse() throws SoapFault
SoapFault
public java.lang.Object getResult()
getResponse()
public void writeBody(org.xmlpull.v1.XmlSerializer writer) throws java.io.IOException
writeBody
in class SoapEnvelope
writer
- XmlSerializer object to write the body into.
java.io.IOException
public void writeObjectBody(org.xmlpull.v1.XmlSerializer writer, KvmSerializable obj) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |