QueueMetrics > QueueMetrics installation

XML-RPC api not working

(1/1)

absa:
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:
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.

Navigation

[0] Message Index

Go to full version