Issue 2550749
Created on 2012-03-11 01:18 by rouilj, last changed 2013-01-11 04:04 by rouilj.
File name |
Uploaded |
Description |
Edit |
Remove |
xmlrpc_invocation.patch
|
rouilj,
2012-03-11 01:18
|
Patch to invoke the xmlrpc interface at the xmlrpc path. |
|
|
xmlrpc.txt.patch
|
rouilj,
2012-03-11 01:39
|
doc patch to accompany the source patch. |
|
|
msg4515 |
Author: [hidden] (rouilj) |
Date: 2012-03-11 01:18 |
|
The xmlrpc interface is currently invoked if the content type
is text/xml. That is insufficient however if we want to allow
other mechanisms (e.g. REST in issue 2550734) which may also
consume xml format data (in addition to json ...).
Every other rpc interface I am familiar with has a single
known url path by which it is invoked.
I suggest applying the attached patch to cgi/client.py to
put the xmlrpc interface at the xmlrpc path under the tracker.
E.G. to use the xmlrpc interface with the demo tracker:
>>> import xmlrpclib
>>> roundup_server =
xmlrpclib.ServerProxy('http://admin:admin@localhost:8917/demo/xmlrpc',
allow_none=True)
and then any of the xmlrpc interface commands can be used.
|
msg4516 |
Author: [hidden] (rouilj) |
Date: 2012-03-11 01:39 |
|
I am also adding documentation for the xmlrpc.txt file
that describes accessing the interface via the roundup
HTTP server with this patch applied.
|
msg4639 |
Author: [hidden] (rouilj) |
Date: 2012-09-05 18:16 |
|
When this goes out, the upgrading.txt file should include the following:
==========
If you are using the xml-rpc interface, there is a change
in accessing it. You can not send text/xml data to any
roundup url and get a response, you must use the /xmlrpc
url. For example, if you used to send your xmlrpc request to:
http://myroundup.com/roundup
you need to change the url to read:
http://myroundup.com/roundup/xmlrpc
to invoke the xmlrpc handler. This allows us to send xml
data to roundup for other handlers (e.g. REST, SOAP ...)
in the future.
|
msg4684 |
Author: [hidden] (rouilj) |
Date: 2012-11-25 23:27 |
|
Commited the patches to hg. Also updated Changes.txt and updating.txt.
|
msg4747 |
Author: [hidden] (rouilj) |
Date: 2013-01-11 04:04 |
|
Patch applied and release done. Closing.
|
|
Date |
User |
Action |
Args |
2013-01-11 04:04:10 | rouilj | set | status: open -> closed messages:
+ msg4747 |
2012-11-25 23:27:10 | rouilj | set | status: new -> open assignee: rouilj resolution: fixed messages:
+ msg4684 |
2012-09-06 14:57:23 | rouilj | set | keywords:
+ Effort-Low |
2012-09-05 18:16:58 | rouilj | set | messages:
+ msg4639 |
2012-09-05 14:25:59 | rouilj | set | priority: normal |
2012-09-05 14:17:37 | rouilj | link | issue2550734 dependencies |
2012-03-11 01:39:43 | rouilj | set | files:
+ xmlrpc.txt.patch messages:
+ msg4516 |
2012-03-11 01:18:54 | rouilj | create | |
|