com.infoengine.soap.util.sax
Class SAXSOAPMessage
java.lang.Object
javax.xml.soap.SOAPMessage
com.infoengine.soap.util.sax.UnsupportedSOAPMessage
com.infoengine.soap.util.sax.SAXSOAPMessage
- public class SAXSOAPMessage
- extends UnsupportedSOAPMessage
Fields inherited from class javax.xml.soap.SOAPMessage |
CHARACTER_SET_ENCODING, WRITE_XML_DECLARATION |
Methods inherited from class javax.xml.soap.SOAPMessage |
createAttachmentPart, createAttachmentPart, getProperty, getSOAPBody, setProperty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
des
EnvelopeDeserializer des
SAXSOAPMessage
private SAXSOAPMessage(EnvelopeDeserializer des)
readSOAPRequest
public static SAXSOAPMessage readSOAPRequest(InputStream message)
throws Exception
- Throws:
Exception
readSOAPResponse
public static SAXSOAPMessage readSOAPResponse(InputStream message)
throws Exception
- Throws:
Exception
getMethodName
public String getMethodName()
getParameters
public SOAPParameter[] getParameters()
getObject
public Object getObject()
getHeaders
public SOAPParameter[] getHeaders()
getResponseName
public String getResponseName()
getResponseObject
public Object getResponseObject()
getParameterValue
public Object getParameterValue(String name)
hasFault
public boolean hasFault()
getFaultCode
public String getFaultCode()
getFaultString
public String getFaultString()
getSOAPHeader
public javax.xml.soap.SOAPHeader getSOAPHeader()
throws javax.xml.soap.SOAPException
- Throws:
javax.xml.soap.SOAPException
addAttachmentPart
public void addAttachmentPart(javax.xml.soap.AttachmentPart attachmentPart)
countAttachments
public int countAttachments()
createAttachmentPart
public javax.xml.soap.AttachmentPart createAttachmentPart()
getAttachments
public Iterator getAttachments()
getAttachments
public Iterator getAttachments(javax.xml.soap.MimeHeaders mimeHeaders)
getContentDescription
public String getContentDescription()
getMimeHeaders
public javax.xml.soap.MimeHeaders getMimeHeaders()
getSOAPPart
public javax.xml.soap.SOAPPart getSOAPPart()
removeAllAttachments
public void removeAllAttachments()
saveChanges
public void saveChanges()
throws javax.xml.soap.SOAPException
- Throws:
javax.xml.soap.SOAPException
saveRequired
public boolean saveRequired()
setContentDescription
public void setContentDescription(String str)
writeTo
public void writeTo(OutputStream outputStream)
throws javax.xml.soap.SOAPException,
IOException
- Throws:
javax.xml.soap.SOAPException
IOException