Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2008
    Posts
    1
    Rep Power
    0

    Thumbs up problem when generating MIME header of a SOAP packet using SAAJ

    I am trying to generate a soap packet using SAAJ.
    I have a generated SOAP.xml and an attachment file (which is a zip file).
    I am able to generated a packet in following format

    ------=_Part_0_20920201.1207569691421
    Content-Type: text/xml; charset=utf-8
    Content-Transfer-Encoding: 8bit
    Content-Location: Envelope2290


    << And here is my SOAP.xml file>>

    ------=_Part_0_20920201.1207569691421
    Content-Type: application/octet-stream
    Content-Transfer-Encoding: Binary
    Content-Location: MeFAttachment.zip

    << And here is my attachment zip file>>

    ------=_Part_0_20920201.1207569691421—


    But the format I want to generate is :

    MIME-Version: 1.0
    Content-Type: Multipart/Related; boundary=MIMEBoundary; type="text/xml"
    Content-Description: Transmission file for IRS MeF
    X-eFileRoutingCode: MEF

    --MIMEBoundary
    Content-Type: "text/xml"; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    Content-Location: Envelope2290

    << And here is my SOAP.xml file>>

    --MIMEBoundary
    Content-Type: application/octet-stream
    Content-Transfer-Encoding: Binary
    Content-Location: MeFAttachment

    << And here is my attachment zip file>>
    --MIMEBoundary—

    I am not able to generate the upper 4 lines and the MIMEBoundary. Can anyone plz help me…? Its really Urgent………….

  2. #2
    siddiqui is offline Member
    Join Date
    Oct 2010
    Posts
    1
    Rep Power
    0

    Default Mime

    I am having the same issue... any suggestions would be appreciated. Thanks

Similar Threads

  1. getting the default browser+MIME data
    By waleed_cs2000 in forum Networking
    Replies: 1
    Last Post: 04-08-2008, 02:31 PM
  2. Mime type of a file from web
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 03-03-2008, 06:20 PM
  3. Mime type of a file
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 03-03-2008, 06:18 PM
  4. Getting Header Info
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 11-26-2007, 02:30 PM
  5. header of jtable
    By bbq in forum AWT / Swing
    Replies: 1
    Last Post: 07-05-2007, 05:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •