Instead of the DNS name you could use the userPrincipalName attribute..
<identity>
<userPrincipalName value="Company\WebServiceAppPool" />
</identity>
where: Company\WebServiceAppPool is the domain name account.
My webservice runs under this domain name, and therefore the client uses this credential in the endpoint while accessing the service