Hi,

You can use the following code in your class that implements the 
NotificationMessageListener.

public void process(NotificationMessage message) throws SoapFault 
{
 
        Element messageXml = message.toXML();
 
        // Next line will return all <wsnt:Message> elements
        Element[] messageContents = XmlUtils.getElements(messageXml, 
WsnConstants.MESSAGE_QNAME); 

}


thanks

With best regards,

Saurabh Dravid,
Staff Software Engineer - Autonomic Computing,
India Software Lab, IBM Software Group
Embassy Golf Links, 'B' Block, 4th Floor, Bangalore
Phone: +91-80-51055494, e-mail: [EMAIL PROTECTED]
About India Software Lab 





"Riaz Shafi" <[EMAIL PROTECTED]> 
25/06/2007 16:47
Please respond to
[email protected]


To
<[email protected]>
cc

Subject
Get all <wsnt:Message> content






 
Hi, 

>From a NotificationMessage what is the best way of getting all the
<wsnt:Message> content.

Thankyou for your help. 

Riaz


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to