Bogdan-Andrei Iancu writes:

 > if there is no parameters to the command, there is no need for the 
 > <params> tag. So, you can try:
 > 
 > POST /RPC2 HTTP/1.0
 > Host: 127.0.0.1
 > Connection: close
 > User-Agent: OpenSIPg XML_RPC Client
 > Content-Type: text/xml; charset=ISO-8859-1
 > Content-Length: 155
 > 
 > <?xml version="1.0" ?>
 > <methodCall>
 >      <methodName>lcr_dump</methodName>
 > </methodCall>

i hacked the xmlrpc library and got rid of the empty params list, but i
still get back 400 Bad Request:

Sent the following request:

POST /RPC2 HTTP/1.0
Host: 127.0.0.1
Connection: close
User-Agent: OpenSIPg XML_RPC Client
Content-Type: text/xml; charset=ISO-8859-1
Content-Length: 92

<?xml version="1.0" ?>
<methodCall>
        <methodName>domain_dump</methodName>
</methodCall>

Received the following response:

HTTP/1.1 400 Bad Request
Content-type: text/html
Connection: close
Date: Fri, 08 Dec 2006 14:27:32 GMT
Server: ABYSS/0.3

does 400 Bad Request mean that there is something syntactically
incorrect about the request or could it be that domain_dump is not found
by mi_xmlrpc?  if the former, do you have any idea what i should try
next?

-- juha

_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to