How can I pass xml document back through NAV 2009 Web Service

We have a website that will call a NAV Codeunit to return a customer record. We want to return this Customer record in an xml format? How can I do this?

I don’t think an xmlport is the answer because an xmlport only returns access to the fields in the xmlport, it doesn’t return the actual xml that I can see. Or is there a way to expose the xmlport as xml instead?