Author Topic: XML-RPC api not working  (Read 3268 times)

absa

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
XML-RPC api not working
« on: September 04, 2007, 11:57:35 »
Hello,

i'm trying to access XML-RPC api with sample_client.php. My queuemetrics version is 1.4.

Tomcat is running ok, queuemetrics is working ok. Howver i couldn't get XML-RPC to work. I have enabled debug on php script and this is output that i get:

---GOT---
HTTP/1.1 302 Moved Temporarily
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=6635BEE7DBE0A6EDDE399E244879089B; Path=/queuemetrics
Location: http://localhost/queuemetrics/n/a
Content-Length: 0
Date: Tue, 04 Sep 2007 09:11:56 GMT
Connection: close


---END---
Fault Code: 5 Fault Reason: Didn't receive 200 OK from remote server. (HTTP/1.1 302 Moved Temporarily)

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: XML-RPC api not working
« Reply #1 on: September 05, 2007, 12:54:42 »
We tested XML-RPC in version 1.4.0 and it works.  :-* The problem is that QM likely fails in your case because:
- you are entering the wrong auth credentials, or
- you are calling the wrong XML-RPC method

Try and look at the file logs/catalina.out and see if QM prints something there.