Fix dprintf error statement when combining SOAP and shared port. #3813