Is it an actual file you want to upload? It sounds as if it may just be some XML data. If so, then no more than an HTTP POST is required (which the java.net.HttpURLConnection class can handle). On the server side you'd need a servlet container such as
Tomcat (or Jetty, Resin, GlassFish,
JBoss, WebLogic, WebSphere etc.).