|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SOAPHelper
A list of high-level commands that a SOAPHelperImpl class should implement. The purpose of this interface is to provide for the unique runtime platform requirements of users of the IBM WebSphere Appliance Management Toolkit.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT_2013
|
Method Summary | |
---|---|
org.w3c.dom.Node |
call(DeviceContext device,
byte[] header,
byte[] footer,
java.io.InputStream requestDocument)
Given a requestDocument (as an combination of header bytes, an InputStream containing the blob, and footer bytes), this method provides a high-level API to wrap the SOAP envelope, create an SSL connection, send the SOAP request, get the SOAP response, and return the response XML (without the SOAP envelope). |
org.w3c.dom.Node |
call(DeviceContext device,
java.lang.StringBuffer requestDocument)
Given a requestDocument (as an StringBuffer), this method provides a high-level API to wrap the SOAP envelope, create an SSL connection, send the SOAP request, get the SOAP response, and return the response XML (without the SOAP envelope) |
org.apache.xmlbeans.XmlOptions |
getOptions()
Creates an XmlOptions object that enables the XML outputted by XMLBeans to be pretty-printed, and to have the correct namespace prefix for the SOMA WSDL. |
Field Detail |
---|
static final java.lang.String COPYRIGHT_2013
Method Detail |
---|
org.apache.xmlbeans.XmlOptions getOptions()
org.w3c.dom.Node call(DeviceContext device, java.lang.StringBuffer requestDocument) throws SOMAIOException, SOMAException
device
- the remote device information contained in a DeviceContext
object (username, password, hostname, and SOMA port number)requestDocument
- a StringBuffer containing the XML request. It will be
translated into an XML document for the SOAP request.
org.w3c.dom.Node call(DeviceContext device, byte[] header, byte[] footer, java.io.InputStream requestDocument) throws SOMAIOException, SOMAException
The inputStream must represent base64 encoded bytes!!!
device
- the remote device information contained in a DeviceContext
object (username, password, hostname, and SOMA port number)header
- the bytes before the blob in the messagefooter
- the bytes after the blob in the messagerequestDocument
- an InputStream containing the XML request. It will be
translated into an XML document for the SOAP request.
This method will close the InputStream.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |