Forum Discussion

martinK's avatar
martinK
New Contributor
14 years ago

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?

3 Replies

  • Hi,

    thanks for reporting - we'll try to reproduce and will get back to you..

    regards!

    /Ole
    SmartBear Software
  • martinK's avatar
    martinK
    New Contributor
    Hi Ole,
    any update?
    do you have the change to reproduce it?

    martin
  • Hi Martin,

    yes, I reproduced it and have logged it internally for prioritization.

    regards!

    /Ole
    SmartBear Software