xmlns="" is causing rejection on BIG-IP ASM
Dear sirs, we are facing a rejection by F5-ASM when the below SOAP XML request (received from the client side):
http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
is changed into :
http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
The sole difference is that: xmlns="" attribute was added to the element. Kindly advise on how to solve it, knowing that we do not have control on the sending party program to force it not to insert the [xmlns=""] into the tag.
The error reported is: Malformed document - Schema validation failed
Thanks and regards
Dear sirs, I found the reason behind the rejection.
It was simply because the element is not under namespace ";; and that is why it needs to have an attribute of [xmlns=""] in order to work correctly.
Its parent element (sendOTP) had the attribute of "xmlns=";; thus affecting its child element namespace.