Thanks Chuck, tried that, here's my python output:

Server created
connect: (sirrus, 8080)
send: 'POST /xmlrpc-status/ HTTP/1.0\r\nHost: sirrus:8080\r\nUser-Agent:
xmlrpclib.py/1.0.1 (by www.pythonware.com)\r\nContent-Type:
text/xml\r\nContent-Length: 111\r\n\r\n'
send: "<?xml
version='1.0'?>\n<methodCall>\n<methodName>ChangeStatus.ping</methodName>\n<
params>\n</params>\n</methodCall>\n"
reply: 'HTTP/1.1 404 Not Found\r\n'
header: Server: Apache-Coyote/1.1
header: Content-Type: text/html;charset=utf-8
header: Content-Length: 997
header: Date: Thu, 29 Oct 2009 16:32:18 GMT
header: Connection: close
ERROR <ProtocolError for sirrus:8080/xmlrpc-status/: 404 Not Found>
Done


>-----Original Message-----
>From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
>Sent: Thursday, October 29, 2009 11:46 AM
>To: Tomcat Users List
>Subject: RE: 302 Error with XMLRPC app
>
>> From: Mike Baranski [mailto:list-subscripti...@secmgmt.com]
>> Subject: 302 Error with XMLRPC app
>>
>> p = xmlrpclib.ServerProxy("http://192.168.1.15:8080/xmlrpc-status";)
>
>> Any idea why I get the 302 error?  My XML-RPC appears to be correct.
>
>As I recall, the 302 is required by the spec, since the target is not a
>static resource.  Try changing your URL to
>"http://192.168.1.15:8080/xmlrpc-status/"; (note the trailing slash).
>
> - Chuck
>
>
>THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
>MATERIAL and is thus for use only by the intended recipient. If you
>received this in error, please contact the sender and delete the e-mail
>and its attachments from all computers.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>For additional commands, e-mail: users-h...@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to