By unchecking the "Send binary data as attachment (MTOM) option in the "advanced settings" of the consumed web service (see below for an example) the tag should be omitted and as result this should resolve the issue described here.
Hi, I currently have a project in version 5.21.4 and experience the same issue. I am consuming a third party webservice and mendix is adding --xmlns:xml="http://www.w3.org/XML/1998/namespace"-- to the outgoing webservice call. Funny thing is that in the modeler logging this extra namespace declaration is not visible, but when capturing the message with wireshark, it is.
The third party is returning an syntax error due to this extra namespace. So I was wondering if I can prevent mendix from adding it, or tell the third party that their WSDL is incorrect. Maybe somebody can point me in the right direction?
The used WSDL can be found here: http://demo.luntronics.com/liabwebservice/giftcard57.asmx?WSDL
Please note that there is also an 'AnyAttribute' used. Mendix already states that it is not supported during WSDL import but apart from that it seems to be working normally.