Forum OpenACS Q&A: Response to Tcl function call to remote AOLserver via xmlrpc ?

Andew, It looks like the client code was not fixed to handle the newer versions of nsxml without a bug that returned the first child instead of root for ns_xml doc root $doc_id. Add this code right after the set response [ns_xml doc root $doc_id]
if {[ns_xml node name $response] != "methodResponse"} {
            set response [lindex [ns_xml node children $response] 0]
        }
I have checked this in, so you can also cvs update to test it. This code checks if the root node returned refers to the methodRepsonse node or the root node. If it refers to the root node, it goes to the next node to get the actual methodResponse. This should fix the code to work with any version of ns_xml. Should fix it.