try
{
URL realUrl = new URL(rpcUrl);
- HttpURLConnection conn = HttpUtils.openConnection(realUrl);
+ HttpURLConnection conn = (HttpURLConnection) HttpUtils
+ .openConnection(realUrl);
conn.setRequestProperty("accept", "*/*");
conn.setRequestProperty("content-type", "text/xml");
conn.setDoOutput(true);