|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis2.jaxws.message.util.MessageUtils
public class MessageUtils
Miscellaneous Utilities that may be useful inside and outside the Message subcomponent.
Constructor Summary | |
---|---|
MessageUtils()
|
Method Summary | |
---|---|
static AttachmentPart |
createAttachmentPart(java.lang.String cid,
javax.activation.DataHandler dh,
SOAPMessage message)
Create an SAAJ AttachmentPart from a JAXWS Attachment |
static Message |
getMessageFromMessageContext(MessageContext msgContext)
Create a JAX-WS Message from the information on an Axis 2 Message Context |
static org.apache.axiom.soap.SOAPFactory |
getSOAPFactory(org.apache.axiom.om.OMElement e)
Get an axiom SOAPFactory for the specified element |
static void |
putMessageOnMessageContext(Message message,
MessageContext msgContext)
Put the JAX-WS Message onto the Axis2 MessageContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageUtils()
Method Detail |
---|
public static org.apache.axiom.soap.SOAPFactory getSOAPFactory(org.apache.axiom.om.OMElement e)
e
- OMElement
public static AttachmentPart createAttachmentPart(java.lang.String cid, javax.activation.DataHandler dh, SOAPMessage message)
cid
- String content iddh
- DataHandlermessage
- SOAPMessage
public static Message getMessageFromMessageContext(MessageContext msgContext) throws WebServiceException
msgContext
-
WebServiceException
public static void putMessageOnMessageContext(Message message, MessageContext msgContext) throws AxisFault, WebServiceException
message
- JAX-WS MessagemsgContext
- Axis2MessageContext
AxisFault
WebServiceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |