224c224
<      * @param the parts contain a collection of  mappings of cids to the message parts.
---
>      * @param the parts contain a collection of the message parts.
227c227
<     public static javax.mail.internet.MimeMultipart createMP(String env, java.util.Map parts ) throws org.apache.axis.AxisFault {
---
>     public static javax.mail.internet.MimeMultipart createMP(String env, java.util.Collection parts ) throws org.apache.axis.AxisFault {
244d243
<             java.util.Set pe = parts.entrySet();
246,247c245,246
<             for (java.util.Iterator it = pe.iterator(); it.hasNext(); ) {
<                 java.util.Map.Entry es = (java.util.Map.Entry) it.next();
---
>             for (java.util.Iterator it = parts.iterator(); it.hasNext(); ) {
>                 org.apache.axis.Part part=  (org.apache.axis.Part) it.next();
248d246
<                 org.apache.axis.Part part=  (org.apache.axis.Part) es.getValue();
251c249
<                 String contentID = (String) es.getKey();
---
>                 String contentID = part.getContentId();
