|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.infolayer.soap.util.SoapOutboundMessageImpl
A simple class for handling outbound multipart SOAP messages on J2SE.
Constructor Summary | |
SoapOutboundMessageImpl()
Creates a new message object. |
Method Summary | |
java.lang.String |
addAttachment(java.io.InputStream stream,
java.lang.String contentType)
Adds an attachment to this SOAP message and returns the access key for it. |
void |
encode(java.io.OutputStream output)
Encodes the whole SOAP request plus all attachments into one - possibly multipart - SOAP request. |
XmlSerializer |
getBody()
Returns an XML serializer for writing the body part of this SOAP message. |
java.lang.String |
getContentType()
Returns the content type of this message. |
void |
setAuthentication(java.lang.String login,
java.lang.String password)
Sets the login and password to use during the authentication phase of the SOAP request. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SoapOutboundMessageImpl()
Method Detail |
public void setAuthentication(java.lang.String login, java.lang.String password) throws java.io.IOException
setAuthentication
in interface SoapOutboundMessage
java.io.IOException
public java.lang.String getContentType()
getContentType
in interface SoapOutboundMessage
public XmlSerializer getBody() throws java.io.IOException
getBody
in interface SoapOutboundMessage
java.io.IOException
public java.lang.String addAttachment(java.io.InputStream stream, java.lang.String contentType)
addAttachment
in interface SoapOutboundMessage
public void encode(java.io.OutputStream output) throws java.io.IOException
encode
in interface SoapOutboundMessage
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |