Re: [mart-dev] Webservice querying problem

2007-02-21 Thread Richard Holland
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Not sure if this is your email client formatting it wrong, but it seems that you have spaces around the equals signs in your XML query. This is not valid XML syntax so is likely to be one potential cause of the problem. Your Query XML should read like

RE: [mart-dev] Webservice querying problem

2007-02-21 Thread trevor paterson \(RI\)
thanks,.. removing xml whitespace doesn't fix the problem :( (I was just following the formatting in the Documantation pdf ;) the html response with the logger log4perl.threshold = WARN is now HTTP/1.1 500 Internal Server Error Date: Wed, 21 Feb 2007 13:39:28 GMT Server: Apache/2.2.4 (Unix)

Re: [mart-dev] Webservice querying problem

2007-02-21 Thread Richard Holland
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I think I've got this now... the POST expects the XML to be passed in as the 'query' parameter, not just on its own. Try prepending the first line of your XML with query=, eg.: query=?xml version='1.0' encoding='UTF-8'? !DOCTYPE Query

[mart-dev] partially working

2007-02-21 Thread trevor paterson \(RI\)
aha realising that I have to specify the XML query as a parameter using 'query=' helps ;) rereading the example in the Documentation it does indeed say that! - but it isn't too clear till you have been through the whole process! So I can now get queries to run if I save my query as a