/** * Creates a new XMLCall for the given url with Content-Type 'text/xml'. * * @param url the target URL to call * @return an <tt>XMLCall</tt> which can be used to send and receive XML * @throws IOException in case of an IO error */ public static XMLCall to(URL url) throws IOException { return to(url, "text/xml"); }