Revert to using getOperationByName for WMS... as it is used everywhere else