Just to warn all potential CKM webservice users, CKM webservice
endpoint has changed from
'http://openehr.org/knowledge/services/…’ to
'http://openehr.org/ckm/services/…’
Changing the endpoint solves the problem. The webservice itself seems
to be the same. Are there any changes planed for it?
These web service APIs are not wroking now. Are they obsoleted?
getArchetypeIdsFromPartialId
getArchetypeIdsFromPartialIdWithPositioning
getAllArchetypeIds
getAllArchetypeIdsWithPositioning
This - in itself - is actually correct I believe: it has moved there and the 301 response is the recommended way of having the old url still in place as far as I know.
redirects from …/knowledge/… to …/ckm/… and then gives you the right response.
The problem is that e.g. the AE webservice client and likely others don’t know what to do with this redirect (e.g. ask the user if they want to redirect or silently redirect).
We’ll try to get the the webservice urls to silently redirect without giving a 301 response in between.
It should now work with the old URL as well I believe (at least it works in the Archetype Editor).
I would still ask everybody to update to the new URL where this is possible, because then your request doesn’t have to be forwarded from one server to the other and back again.
In Archetype Editor: Under Tools/Options set the URL for shared repository to http://openehr.org/ckm/services/ArchetypeFinderBean?wsdl
Just a thought:
Some time in a distant future when rethinking/refactoring archetype
handling beyond the CKM product it might be a good idea to exclude
specific company-bound product names (like "CKM") and specific
implementation-bound techniques (like "Bean") from openEHR
foundation-controlled URIs.