Check if computational type for SOAP operation message type is blank before calling html_safe. Also checking if SOAP operation has associated service (which it should) but for some reason failed on test.biocatalogue.org.