posted 14 years ago
Hi!
Ah, you said nothing about reading a message from a file in your original post.
First you read the entire file and separate the MIME parts from the SOAP message. For each of the MIME headers, you create an object of the class javax.xml.soap.MimeHeader. Each MimeHeader instance is added to an instance of javax.xml.soap.MimeHeaders. Then you can use the SAAJ API to read the SOAP message, like in the following example:
Best wishes!