martinK
14 years agoNew Contributor
Missing Content-Type in multipart-mixed attachments in SOAP
Hi,
I cannot go on with following issue.. maybe I'm doing something wrong?
I need to send SOAP request with multiple attachments.
On the server side I receive multipart/mixed content almost correctly, just the content-type parameter is missing there,
so I miss the information about the type of content..how to decode it?
Attached is the snapshot how looks like the soapUI attachment configuration.
Below is the raw request
(cannot post the text of the request in the forum so I have to post it as image)
in the parts self are just headers
Content-Transfer-Encoding: binary
Content-ID: <wargenerator.bat>
Content-Disposition: attachment; name="wargenerator.bat"; filename="wargenerator.bat"
but not the content type...
If I change the TestRequest Property "Disable Multipart" to "false"
(BTW this logic is probably switched, or?)
then I receive two separate BodyParts with correct content types.
How can I convince the SoapUI to send the multipart-mixed content
with content-parts where those contains correct content-types?
I cannot go on with following issue.. maybe I'm doing something wrong?
I need to send SOAP request with multiple attachments.
On the server side I receive multipart/mixed content almost correctly, just the content-type parameter is missing there,
so I miss the information about the type of content..how to decode it?
Attached is the snapshot how looks like the soapUI attachment configuration.
Below is the raw request
(cannot post the text of the request in the forum so I have to post it as image)
in the parts self are just headers
Content-Transfer-Encoding: binary
Content-ID: <wargenerator.bat>
Content-Disposition: attachment; name="wargenerator.bat"; filename="wargenerator.bat"
but not the content type...
If I change the TestRequest Property "Disable Multipart" to "false"
(BTW this logic is probably switched, or?)
then I receive two separate BodyParts with correct content types.
How can I convince the SoapUI to send the multipart-mixed content
with content-parts where those contains correct content-types?