|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.rim.device.api.io.parser.soap.SOAPElement
net.rim.device.api.io.parser.soap.SOAPEnvelope
public class SOAPEnvelope
Root object in the SOAP object model. It contains a header and a body, which may contain other SOAP elements.
Constructor Summary | ||
---|---|---|
SOAPEnvelope()
Constructs a SOAPEnvelope . |
Method Summary | ||
---|---|---|
SOAPBody |
getBody()
Returns the SOAP body for this SOAPEnvelope . |
|
SOAPHeader |
getHeader()
Returns the SOAP header for this SOAPEnvelope . |
|
int |
getStyle()
Returns the SOAP style. |
|
int |
getVersion()
Returns the SOAP version. |
|
void |
setBody(SOAPBody body)
Updates the SOAP body for this SOAPEnvelope . |
|
void |
setHeader(SOAPHeader header)
Updates the SOAP header for this SOAPEnvelope . |
|
void |
setStyle(int style)
Updates the SOAP version for this envelope.Supported versions are defined as constants in the SOAPConstants class. |
|
void |
setVersion(int version)
Updates the SOAP version for this envelope. |
|
String |
toSoapRequest()
Builds a SOAP XML string for this SOAPEnvelope . |
Methods inherited from class net.rim.device.api.io.parser.soap.SOAPElement |
---|
getAttribute, getAttributes, getName, getNamespace, getType, putAttribute, setAttributes, setName, setNamespace, setType |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SOAPEnvelope()
SOAPEnvelope
.
Method Detail |
---|
public SOAPHeader getHeader()
SOAPEnvelope
.
SOAPEenvelope
.public void setHeader(SOAPHeader header)
SOAPEnvelope
.
header
- SOAP header for this SOAPEnvelope
.public SOAPBody getBody()
SOAPEnvelope
.
SOAPEnvelope
.public void setBody(SOAPBody body)
SOAPEnvelope
.
body
- SOAP body for this SOAPEnvelope
.public int getVersion()
SOAPConstants
class.
Currently supports these versions:
SOAPConstants.VERSION_2_1
SOAPConstants.VERSION_2_2
SOAPConstants
public void setVersion(int version)
SOAPConstants
class.
Currently supports these versions:
SOAPConstants.VERSION_2_1
SOAPConstants.VERSION_2_2
version
- SOAP version.SOAPConstants
public int getStyle()
SOAPConstants
class.
Currently supports these versions:
SOAPConstants.RPC_ENCODED
SOAPConstants.DOCUMENT_LITERAL
public void setStyle(int style)
SOAPConstants
class.
Currently supports these versions:
SOAPConstants.RPC_ENCODED
SOAPConstants.DOCUMENT_LITERAL
style
- SOAP styleSOAPConstants
public String toSoapRequest()
SOAPEnvelope
.
SOAPEnvelope
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.