Installed Fedora 3.0 beta 1 and ran the web services client build against the WSDL. Had to make a couple of mods to the files:
FEDORA_HOME/server/access/Fedora-API-A.wsdl
FEDORA_HOME/server/management/Fedora-API-M.wsdl
to get the clients generated as they couldn’t resolve the types XSD:
it was set to:
<include schemaLocation=”fedora-types.xsd”/>
just changed it to:
<include schemaLocation=”../xsd/fedora-types.xsd”/>
I updated the test properties and ran them against the new server. Looks like FOXML is different in 3.0 though:
fedora.server.errors.ObjectValidityException: Unsupported format: foxml1.0
Have to look into it. Shows the briliance of unit testing though. You know where you stand with a new version of the application to be tested.
Here’s my presentation at OR2008 in Southampton, published on scribd (more…)
Time’s been really tight on CTREP and I haven’t had time to read up on RDF resource index searching, so find collections in Fedora, I’ve been using XMLBeans to work with the Fedora web services but there doesn’t seem to be an up to date RDF XML schema, so when looking for object relationships I’ve had to break out to DOM land and do Node traversals to find what I need. Then I noticed XmlCursor and it became a whole lot easier. (more…)
I’ve now linked Fedora to Sakai using the architecture I outlined previously and here is the result. I’ve tested all the resource types and the only one that is causing problems is citations list: (more…)
Sakai, meet Fedora. Fedora, meet Sakai: (more…)
I’ve now managed to properly wire up Sakai with Fedora at the SSL level, using the Guanxi SSL Layer which probes for certificates. So I don’t have to worry about exporting and importing certs into truststores. However, there is a caveat. Sakai trunk is once again broken. Is it ever not broken? and the build doesn’t copy the contents of pack/src/webapp/WEB-INF/fedora, which contains the truststore. Worry about that another day though. (more…)
I upgraded to Leopard on the laptop, got all my apps back, built and installed Fedora, checked out the CTREP tests, ran them and got this error:
java.util.regex.PatternSyntaxException: Dangling meta character ‘*’ near index 0
*.local (more…)
Just to remind me: (more…)
I’ve sorted the problem I had with specifying truststores in Axis2. I don’t have to use the crude method of specifying the location and password in System properties. Instead, I’ve combined the Guanxi SSL Layer probing functionality with a custom ProtocolSocketFactory that makes use of the truststore that the Guanxi SSL probing populates. (more…)
I have a problem. You can mount various Fedora repositories in the Sakai resource tool but to upload resources you need to use the API-M endpoint, which is normally protected via SSL. That means the client code on the Sakai side needs to verify incoming Fedora server certificates. (more…)