I have to send a zip file whose name is MeFAttachment.zip as an attachment in SOAP 1.1 packet.
But I get an error while submitting.
Here is the error description
Server Error 415
IDP Rule 'Invalid HTTP Message' aborted processing. Invalid mime format
System Name: ccgows012
Server Policy: ATS XML Policy
Matched task list:
Failure occurred in task:
Below is the content that I have written.
- MIME-Version: 1.0
-
Content-Type: Multipart/Related; boundary=MIMEBoundary; type=text/xml;
-
Content-Description: Transmission file for IRS MeF.
-
-
--MIMEBoundary
-
Content-Type: text/xml; charset=UTF-8
-
Content-Transfer-Encoding: 8bit
-
Content-Location: SoapEnvelope
-
<?xml version="1.0" encoding="UTF-8"?>
-
<SOAP:Envelope xmlns="http://www.irs.gov/efile" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:efile="http://www.irs.gov/efile" xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ ../message/SOAP.xsd <http://www.irs.gov/efile> ../message/efileMessage.xsd">
-
<SOAP:Header>
-
--- here is soap header part
-
</SOAP:Header>
-
<SOAP:Body>
-
-
-----here is soap body part
-
</SOAP:Body>
-
</SOAP:Envelope>
-
--MIMEBoundary
-
Content-Type: application/zip
-
Content-Transfer-Encoding: Binary
-
Content-Location: MeFAttachment.zip
-
--MIMEBoundary