Use a common function to handle SOAP quotes