| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.xml.soap.MessageFactory
org.apache.axis.soap.MessageFactoryImpl
Message Factory implementation
| Constructor Summary | |
| MessageFactoryImpl() | |
| Method Summary | |
|  SOAPMessage | createMessage()Creates a new SOAPMessageobject with the
   defaultSOAPPart,SOAPEnvelope,SOAPBody, andSOAPHeaderobjects. | 
|  SOAPMessage | createMessage(MimeHeaders mimeheaders,
              java.io.InputStream inputstream)Internalizes the contents of the given 
 InputStreamobject into a newSOAPMessageobject and returns theSOAPMessageobject. | 
| Methods inherited from class javax.xml.soap.MessageFactory | 
| newInstance | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public MessageFactoryImpl()
| Method Detail | 
public SOAPMessage createMessage()
                          throws SOAPException
SOAPMessage object with the
   default SOAPPart, SOAPEnvelope,
   SOAPBody, and SOAPHeader objects.
   Profile-specific message factories can choose to
   prepopulate the SOAPMessage object with
   profile-specific headers.
   Content can be added to this message's 
   SOAPPart object, and the message can be sent "as is"
   when a message containing only a SOAP part is sufficient.
   Otherwise, the SOAPMessage object needs to
   create one or more AttachmentPart objects and
   add them to itself. Any content that is not in XML format
   must be in an AttachmentPart object.
createMessage in class MessageFactorySOAPMessage object
SOAPException - if a SOAP error occurs
public SOAPMessage createMessage(MimeHeaders mimeheaders,
                                 java.io.InputStream inputstream)
                          throws java.io.IOException,
                                 SOAPException
 InputStream object into a new SOAPMessage
 object and returns the SOAPMessage object.
createMessage in class MessageFactorymimeheaders - the transport-specific headers
     passed to the message in a transport-independent fashion
     for creation of the messageinputstream - the InputStream object
     that contains the data for a message
SOAPMessage object containing the
     data from the given InputStream object
java.io.IOException - if there is a
     problem in reading data from the input stream
SOAPException - if the message is invalid| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||