package es.bsc.nuba.fco;

import java.io.File;
import com.sun.jersey.api.client.Client;
import com.sun.jersey.api.client.ClientResponse;
import com.sun.jersey.api.client.WebResource;

public class ServiceTester
{
	public static void main (String[] args)
	{		
		Client client = new Client();
		WebResource webResource = client.resource("http://localhost:8080/jerseytest/bsc/vdc/action/add");

		webResource.type("application/vnd.telefonica.tcloud.vdc+xml").post(ClientResponse.class,
				new File("vdc.xml"));
	}
}
