|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.xml.soap.SOAPMessage
com.sun.xml.messaging.saaj.soap.MessageImpl
com.sun.xml.messaging.jaxm.util.ProfileMessage
com.sun.xml.messaging.jaxm.ebxml.EbXMLMessageImpl
The message implementation for ebxml messages. This class currently supports setters and getters for the mandatory parts of the ebxml message header.
Field Summary | |
static org.apache.commons.logging.Log |
logger
|
Constructor Summary | |
EbXMLMessageImpl()
Construct a new message. |
|
EbXMLMessageImpl(javax.xml.soap.MimeHeaders headers,
java.io.InputStream in)
Construct a message from an input stream. |
|
EbXMLMessageImpl(javax.xml.soap.SOAPMessage message)
|
Method Summary | |
java.lang.String |
getAction()
Returns the action for the message. |
java.lang.String |
getConversationId()
Returns the conversation id for the message. |
java.lang.String |
getCPAId()
Returns the cpa id. |
javax.xml.messaging.Endpoint |
getFrom()
|
Manifest |
getManifest()
Returns the manifest for the message. |
java.lang.String |
getMessageHeaderVersion()
Returns the version of the ebxml header. |
java.lang.String |
getMessageId()
Returns the message id for the message. |
Party |
getReceiver()
Returns the receiver of this message. |
java.lang.String |
getRefToMessageId()
Returns the ref to message id for the message. |
Party |
getSender()
Returns the sender of this message. |
com.sun.xml.messaging.jaxm.util.SerializableMessage |
getSerializableMessage()
|
Service |
getService()
Returns the service. |
javax.xml.messaging.Endpoint |
getTo()
|
void |
saveChanges()
|
void |
setAction(java.lang.String action)
Set the action field for the message. |
void |
setConversationId(java.lang.String conversationId)
Sets the conversation id for the message. |
void |
setCPAId(java.lang.String cpaId)
Sets the CPAId for the message. |
void |
setManifest(Manifest manifest)
Sets the manifest for the message in the SOAPBody. |
void |
setMessageHeaderVersion(java.lang.String version)
Sets the version of the message header. |
void |
setReceiver(Party receiver)
Set the receiver of the message. |
void |
setRefToMessageId(java.lang.String refToMessageId)
Sets the ref to message id. |
void |
setSender(Party sender)
Set the sender of the message. |
void |
setService(Service service)
Sets the service information as defined in the ebxml specification. |
Methods inherited from class com.sun.xml.messaging.saaj.soap.MessageImpl |
addAttachmentPart, countAttachments, createAttachmentPart, getAttachments, getAttachments, getContentDescription, getMimeHeaders, getSOAPPart, removeAllAttachments, saveRequired, setContentDescription, writeTo |
Methods inherited from class javax.xml.soap.SOAPMessage |
createAttachmentPart, createAttachmentPart |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final org.apache.commons.logging.Log logger
Constructor Detail |
public EbXMLMessageImpl() throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
- if there is a problem in creating the
ebxml message object.public EbXMLMessageImpl(javax.xml.soap.MimeHeaders headers, java.io.InputStream in) throws java.io.IOException, javax.xml.soap.SOAPException
headers
- the mime headers of the message.public EbXMLMessageImpl(javax.xml.soap.SOAPMessage message) throws java.io.IOException, javax.xml.soap.SOAPException
Method Detail |
public void saveChanges() throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
public void setMessageHeaderVersion(java.lang.String version) throws javax.xml.soap.SOAPException
version
- - The version of the header.
javax.xml.soap.SOAPException
- is thrown when the version is set to
anything other than "1.0"public java.lang.String getMessageHeaderVersion()
public Party getSender()
Party
public void setSender(Party sender)
Party
public Party getReceiver()
Party
public void setReceiver(Party receiver)
Party
public javax.xml.messaging.Endpoint getFrom()
public javax.xml.messaging.Endpoint getTo()
public void setService(Service service)
Service
public Service getService()
Service
public void setAction(java.lang.String action)
public java.lang.String getAction()
public void setManifest(Manifest manifest)
Manifest
public Manifest getManifest()
Manifest
public java.lang.String getMessageId()
public java.lang.String getRefToMessageId()
public void setRefToMessageId(java.lang.String refToMessageId)
public void setCPAId(java.lang.String cpaId)
public java.lang.String getCPAId()
public void setConversationId(java.lang.String conversationId)
public java.lang.String getConversationId()
public com.sun.xml.messaging.jaxm.util.SerializableMessage getSerializableMessage()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |