Forum Discussion

Mohanad_313515's avatar
Mohanad_313515
Icon for Nimbostratus rankNimbostratus
Mar 25, 2019

XML data does not comply with schema & Malformed XML data

Hi Everyone

 

i have configure an XML profile within the BIG-IP ASM security policy to protect XML-based web traffic, but i got some alerts:

 

1- (XML data does not comply with schema or WSDL document)

 

2- (Malformed XML data)

 

i took screenshot of the request and pasted it into code editor to view the request easily

 

Hereunder the xml profile configs:

 

1 Reply

  • the second issue (Malformed XML data) has been solved:

    F5 added the internal parameter "allowXSIRename" that enables you to allow using a namespace prefix different from "xsi" for ";. Set this parameter to 1 to allow different names for the xsi prefix. The default value is 0 (disallow).

    This WSDL document is not using the common prefix, by default the BIG-IP won't accept documents using anything other than the common prefix.

    If you can't change the application to use the common prefix we can change this behavior on the BIG-IP using this command:

    /usr/share/ts/bin/add_del_internal add allowXSIRename 1 bigstart restart asm
    
    bigstart restart asm
    
    tmsh save sys config
    

    This will restart BIG-IP and cause a failover so please perform this in a maintenance window