Re: [Virtuoso-users] Posting a query file to the Virtuoso facets Web services REST interface using Jersey

2010-03-10 Thread Hugh Williams
Hi Monika, You indicated in your email to me that the post.xml file contained: ?xml version=1.0? query xmlns=http://openlinksw.com/services/facets/1.0; inference= same-as= textMike/text property iri=[foaf:knows] view type=list / /property /query but when I execute if against the

Re: [Virtuoso-users] Posting a query file to the Virtuoso facets Web services REST interface using Jersey

2010-03-10 Thread Monika Solanki
Here is the code, apologies did not have time to clean it up. The exception here has not be caught yet in my 4 trials with this so far. I do not think I made any change in the way the web service is accessed. public class RESTClient { public static void main(String[] args) { //

[Virtuoso-users] Posting a query file to the Virtuoso facets Web services REST interface using Jersey

2010-03-09 Thread Monika Solanki
Hello, Does anyone have any experience with this. I am not able to do a POST of the query file using Jersey. The server keeps throwing 500. Code below: { ClientConfig config = new DefaultClientConfig(); Client client = Client.create(config); client.addFilter(new