Supporting a response struct that abstracts inbound xml document generation