We have a plugin that used an XML RPC call functionality that is no longer working upon upgrading to version 5.6.5. I notice that an add on called Confluence XML-RPC Java Client - Plugin that was present in our previous version (5.1.3) but not in 5.6. Does Confluence no longer support these types of calls? I know the movement is toward REST, but we are hoping to restore this functionality while we rewrite our tool, if that makes sense.
Community moderators have prevented the ability to post new answers.
It's hard to tell from the log. We are facing two issues. Some of the calls made are no longer working, including the following: confluence.spacePermissionsFilter.getPermittedSpaceKeysForUserNotInAnyGroup confluence.spacePermissionsFilter.getPermittedSpaceKeysForUser confluence.spacePermissionsFilter.getPermittedSpaceKeysForAnonymousUser I'm not sure if these calls are not being made because Atlassian no longer supports these XML RPC calls. The other problem may be the schema change now uses user keys instead of user names, so these calls may need to be rewritten to use a user key instead of username. https://developer.atlassian.com/display/CONFDEV/Renamable+Users+in+Confluence+5.2 The error returned looks something like: date username IP address - CustomTools.addWikiSite java.lang.Exception: java.lang.IllegalArgumentException: Parameter username does not exist as a named parameter in [ select distinct space.key from SpacePermission as perm inner join perm.space as space where (perm.userSubject = :user or perm.group in (:groups) or (perm.userSubject is null and perm.group is null)) and (perm.type = :permission) ]
I am afraid it has been deprecated since Confluence 5.5. It has been replaced by (the long awaited) REST API. More info in Confluence REST API.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alex, will calls to XML RPC no longer work as of 5.5? We make calls to the following in the our plugin: confluence.spacePermissionsFilter.getPermittedSpaceKeysForUserNotInAnyGroup confluence.spacePermissionsFilter.getPermittedSpaceKeysForUser confluence.spacePermissionsFilter.getPermittedSpaceKeysForAnonymousUser
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The way I read the deprecation announcement is simply that they are not going to add new features to it. My understanding is that they will keep it around, but new work will be put into the REST API. As of yet the REST API cannot do everything that the other API's can so it would be foolish for them to get rid of it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have not used the XML-RPC recently, but in configuration options there is a parameter to enable remote API, and it is called "Remote API (XML-RPC & SOAP)". What type of error you are facing? Exception stracktrace to share, may be?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.