|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ksoap2.SoapEnvelope
public class SoapEnvelope
A SOAP envelope, holding head and body objects. While this basic envelope supports literal encoding as content format via KDom, The SoapSerializationEnvelope provides support for the SOAP Serialization format specification and simple object serialization.
Field Summary | |
---|---|
Object |
bodyIn
The body object received with this envelope. |
Object |
bodyOut
The body object to be sent with this envelope. |
String |
enc
Encoding namespace, set by the constructor |
static String |
ENC
Namespace constant: http://schemas.xmlsoap.org/soap/encoding/ |
static String |
ENC2001
|
String |
encodingStyle
|
String |
env
Envelope namespace, set by the constructor |
static String |
ENV
Namespace constant: http://schemas.xmlsoap.org/soap/envelope/ |
static String |
ENV2001
|
org.kxml2.kdom.Element[] |
headerIn
Incoming header elements |
org.kxml2.kdom.Element[] |
headerOut
Outgoing header elements |
static int |
VER10
SOAP Version 1.0 constant |
static int |
VER11
SOAP Version 1.1 constant |
static int |
VER12
SOAP Version 1.2 constant |
int |
version
The SOAP version, set by the constructor |
String |
xsd
Xml Schema data namespace, set by the constructor |
static String |
XSD
Namespace constant: http://www.w3.org/2001/XMLSchema |
static String |
XSD1999
Namespace constant: http://www.w3.org/1999/XMLSchema |
String |
xsi
Xml Schema instance namespace, set by the constructor |
static String |
XSI
Namespace constant: http://www.w3.org/2001/XMLSchema |
static String |
XSI1999
Namespace constant: http://www.w3.org/1999/XMLSchema |
Constructor Summary | |
---|---|
SoapEnvelope(int version)
Initializes a SOAP Envelope. |
Method Summary | |
---|---|
void |
parse(org.xmlpull.v1.XmlPullParser parser)
Parses the SOAP envelope from the given parser |
void |
parseBody(org.xmlpull.v1.XmlPullParser parser)
|
void |
parseHeader(org.xmlpull.v1.XmlPullParser parser)
|
void |
setOutputSoapObject(Object soapObject)
Assigns the object to the envelope as the outbound message for the soap call. |
static boolean |
stringToBoolean(String booleanAsString)
Returns true for the string values "1" and "true", ignoring upper/lower case and whitespace, false otherwise. |
void |
write(org.xmlpull.v1.XmlSerializer writer)
Writes the complete envelope including header and body elements to the given XML writer. |
void |
writeBody(org.xmlpull.v1.XmlSerializer writer)
Writes the SOAP body stored in the object variable bodyIn, Overwrite this method for customized writing of the soap message body. |
void |
writeHeader(org.xmlpull.v1.XmlSerializer writer)
Writes the header elements contained in headerOut |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int VER10
public static final int VER11
public static final int VER12
public static final String ENV2001
public static final String ENC2001
public static final String ENV
public static final String ENC
public static final String XSD
public static final String XSI
public static final String XSD1999
public static final String XSI1999
public Object bodyIn
public Object bodyOut
public org.kxml2.kdom.Element[] headerIn
public org.kxml2.kdom.Element[] headerOut
public String encodingStyle
public int version
public String env
public String enc
public String xsi
public String xsd
Constructor Detail |
---|
public SoapEnvelope(int version)
Method Detail |
---|
public static boolean stringToBoolean(String booleanAsString)
public void parse(org.xmlpull.v1.XmlPullParser parser) throws IOException, org.xmlpull.v1.XmlPullParserException
IOException
org.xmlpull.v1.XmlPullParserException
public void parseHeader(org.xmlpull.v1.XmlPullParser parser) throws IOException, org.xmlpull.v1.XmlPullParserException
IOException
org.xmlpull.v1.XmlPullParserException
public void parseBody(org.xmlpull.v1.XmlPullParser parser) throws IOException, org.xmlpull.v1.XmlPullParserException
IOException
org.xmlpull.v1.XmlPullParserException
public void write(org.xmlpull.v1.XmlSerializer writer) throws IOException
IOException
public void writeHeader(org.xmlpull.v1.XmlSerializer writer) throws IOException
IOException
public void writeBody(org.xmlpull.v1.XmlSerializer writer) throws IOException
IOException
public void setOutputSoapObject(Object soapObject)
soapObject
- the object to send in the soap call.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |