Results 1 to 2 of 2
- 04-08-2008, 06:46 AM #1
Member
- Join Date
- Apr 2008
- Posts
- 1
- Rep Power
- 0
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………….
- 10-18-2010, 05:03 PM #2
Member
- Join Date
- Oct 2010
- Posts
- 1
- Rep Power
- 0
Similar Threads
-
getting the default browser+MIME data
By waleed_cs2000 in forum NetworkingReplies: 1Last Post: 04-08-2008, 01:31 PM -
Mime type of a file from web
By Java Tip in forum Java TipReplies: 0Last Post: 03-03-2008, 05:20 PM -
Mime type of a file
By Java Tip in forum Java TipReplies: 0Last Post: 03-03-2008, 05:18 PM -
Getting Header Info
By Java Tip in forum Java TipReplies: 0Last Post: 11-26-2007, 01:30 PM -
header of jtable
By bbq in forum AWT / SwingReplies: 1Last Post: 07-05-2007, 04:11 AM


LinkBack URL
About LinkBacks

Bookmarks