pub.client:http with application/xml content

I need call a restfull service with the URL. I don’t know how to set the content-type “application/xml”. I have followed the built-in services pdf ,but no result. Is there anybody can help?