Loading ...
Sorry, an error occurred while loading the content.

Type in main body for multipart SOAP request

Expand Messages
  • patwa_2003
    Hello, I have a multipart message. I created the attachment with MIME::Entity: my $ent = build MIME::Entity( Type = application/xop+xml , Encoding
    Message 1 of 1 , Feb 8, 2010
    • 0 Attachment
      Hello,
      I have a multipart message. I created the attachment with MIME::Entity:

      my $ent = build MIME::Entity(
      Type => "application/xop+xml",
      Encoding => "chunked",
      Path => "my_file.xml",
      Filename => "my_file",
      Disposition => "attachment");

      Content-type for the main body still is:

      Content-Type: Multipart/Related; type="text/xml"; start="<main_envelope>"; boundary="----------=_1265677750-1675-0"; charset=utf-8


      How do I change type to "application/xop+xml" ?

      Thanks,
      Ankur
    Your message has been successfully submitted and would be delivered to recipients shortly.