# Type of request: This is a ...

[x] feature request

# Detailed description

Whenever we try to do delete template operation through AWS java SDK it is throwing 500 error with null message
AWS SDK version: version: 1.11.327

## Expected behavior

delete template operation should work properly deleting given template

## Actual behavior

Delete template operation is throwing 500 exception with null message
com.amazonaws.services.simpleemail.model.AmazonSimpleEmailServiceException: null (Service: AmazonSimpleEmailService; Status Code: 500; Error Code: 500 ; Request ID: null)

or through command line it is giving

Unable to parse response (syntax error: line 1, column 54), invalid XML received. Further retries may succeed:
b'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">\n<title xmlns="http://ses.amazonaws.com/doc/2010-01-31/">500 Internal Server Error</title>\n<h1>Internal Server Error</h1>\n<p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>\n'

# Steps to reproduce

1. use AWS java SDK in java project
2. make localstack up using docker latest image
3. perform delete template operation on already created template

## Command used to start LocalStack

docker run --env SERVICES=ses -p 4566:4566 localstack/localstack

## Client code 

val client: AmazonSimpleEmailService = AmazonSimpleEmailServiceClientBuilder.standard()
            .withEndpointConfiguration(endpoint).build()
val deleteTemplateResult = client.deleteTemplate(deleteTemplatesRequest)

 OR through the command line

 aws ses delete-template --template-name on_demand_template --region=us-east-1 --endpoint-url=http://localhost:4566

import unittest
from datetime import date, datetime
from localstack.utils.aws import aws_stack
TEST_TEMPLATE_ATTRIBUTES = {
    'TemplateName': 'hello-world',
    'SubjectPart': 'Subject test',
    'TextPart': 'hello\nworld',
    'HtmlPart': 'hello<br/>world',
}
class SESTest(unittest.TestCase):
    def test_list_templates(self):
        client = aws_stack.connect_to_service('ses')
        client.create_template(Template=TEST_TEMPLATE_ATTRIBUTES)
        templ_list = client.list_templates()['TemplatesMetadata']
        self.assertEqual(1, len(templ_list))
        created_template = templ_list[0]
        self.assertEqual(created_template['Name'], TEST_TEMPLATE_ATTRIBUTES['TemplateName'])
        self.assertIn(type(created_template['CreatedTimestamp']), (date, datetime))
        
        templ_list = client.list_templates()['TemplatesMetadata']
        self.assertEqual(1, len(templ_list))
        created_template = templ_list[0]
        self.assertEqual(created_template['Name'], TEST_TEMPLATE_ATTRIBUTES['TemplateName'])
        self.assertIn(type(created_template['CreatedTimestamp']), (date, datetime))