The document describes an automated approach and tool called SOLMI for testing web services against XML injection attacks. SOLMI generates valid but malicious XML messages to test services. It uses a taxonomy of 4 XML injection attack types and corresponding mutation operators. The approach extracts schema constraints and uses a constraint solver to generate payload satisfying constraints. An evaluation on a credit card processing system found SOLMI identified vulnerabilities while avoiding false positives, and took around 50 minutes to generate tests.