as to this specification...

http://www.hixie.ch/specs/pingback/pingback

I must be able to call pingback.ping, however you cannot have dots in
method names.

The solution, at least for this example, is to modify the __name__
attribute of the function

@service.xmlrpc
def pingback_ping(source, target):
    return source + target
pingback_ping.__name__ = 'pingback.ping'

The service will no longer expose pingback_ping, however this should be fine.

I am posting just in case any others run into this issue with their
xmlrpc endeavors.

-Thadeus

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to