Forum Discussion

Mark_E's avatar
Mark_E
Occasional Contributor
15 years ago

Re: MTOM according to the specification

I have a question on the MTOM support in SoapUI. Apparently according to the specification, MTOM can only be used on base64 data which is in canonical form and cannot contain any whitespaces. This is to allow correct processing of XML signature amongst other things.

What is your understanding how it should hancle base64 in non-canonical form? My colleague suggests it should create a multi part but leave the base64 data inline.

Martijn.

2 Replies

  • Mark_E's avatar
    Mark_E
    Occasional Contributor
    Any comments? Should we report a bug on SoapUI 2.5.1 MTOM processing incorrectly applying XOP optimisation to non-canonical (eg. chunked) base64 data?

    Thanks,

    Mark
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi Mark,

    yes.. strictly speaking it is a bug, although I'm not sure if we can just fix it since it might break others usage.. maybe add a "Strict MTOM canonicalization" option?

    regards!

    /Ole
    eviware.com