application variable is not available in the context of the call of getW...

...ebXmlFilterOrder

With the previous code the webxml plugin does not recognize the cors plugin as having a webXmlFilterOrder property.