Request line is used to find the right server
Host header is required
User-agent header is required
Content-type is text/xml and is required
Content-length is the number of bytes in the payload
Java's URLConnection
classes let you set all this