I wish to get the DOM (or rather a node at the level of the body) itself rather than a MimeBodyPart. Is there a way to get at the DOM that the Envelope has already created? -Keith >The Envelope contains the already parsed XML in a DOM object structure. >However, you can always extract the data yourself from the request >SOAPContext object. getRootPart() will return a (JavaMail) MimeBodyPart >object, which allows you to do various things to extract the content, >e.g. as a String in the typical case of a 'text/xml' request, or as >an InputStream. Check out the JavaMail and Javabeans Activation Framework >API docs. samples/mime/MimeTest.java also has a loopProcessor example >that you might find useful. >bfn, Wouter >On Tue, Apr 24, 2001 at 04:10:49PM -0500, Clay Luther wrote: >> I am writing a message handling service and I need to extract XML from the >> Body of the SOAP Envelope, --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]