Question on the web service XML response, Can the web service response be customized?

I have a question on the webservice XML response, Can the web service response be customized? I wanted to know if there is a possibility to restrict few fields in the response XML and send only limited fields while sending the acknowledgement response to the calling application.

Can this be done?