Ejemplo n.º 1
0
 /*     */ MimeBodyPart getMimePart() throws SOAPException {
   /*     */ try {
     /* 325 */ MimeBodyPart headerEnvelope = new MimeBodyPart();
     /*     */
     /* 327 */ headerEnvelope.setDataHandler(getDataHandler());
     /* 328 */ AttachmentPartImpl.copyMimeHeaders(this.headers, headerEnvelope);
     /*     */
     /* 330 */ return headerEnvelope;
     /*     */ } catch (SOAPException ex) {
     /* 332 */ throw ex;
     /*     */ } catch (Exception ex) {
     /* 334 */ log.severe("SAAJ0548.soap.cannot.externalize.hdr");
     /* 335 */ throw new SOAPExceptionImpl("Unable to externalize header", ex);
     /*     */ }
   /*     */ }