Thanks for going through this process and reporting back on
Regarding the API changes: in general, the SOAP encoding=20
did change for 2.2 (from rpc to doc/lit style)...and I'm
pretty sure that's why the findObjects array came across
differently for you. It's notable that, when using Axis,
we could use the same client code regardless of the rpc=20
vs. doc/lit decision for over-the-wire encoding.
The base64 encoding issue is puzzling, but I think is also
related to the move from rpc to doc/lit style. Even in=20
prior versions of Fedora, when using SOAP, the content of the
datastreams went over the wire as base64-encoded. All that=20
changed for 2.2 was the way the surrounding elements were
structured in the xml soap envelope. That seems to have
caused the PHP client library to not automatically decode the
xml into a string as it did before? That's my guess...
> ...and now Fez 1.3 works with Fedora 2.2. Pretty easy!=20
> We'll have a patch or a 1.3.1 (or maybe 1.4) release of
> Fez out soon with these changes (and in our subversion
> websvn today).
That is great news..I think a lot of people will be happy=20
to see this!
From: fedora-commons-users-bounces@... on behalf of
Sent: Tue 4/17/2007 9:49 PM
Subject: [Fedora-commons-users] Another 2.2 undocumented API-A change?
(getDatastreamDissemination - base64 encoded xml stream)
I think I've found another undocumented change in 2.2 from 2.1.1 (and =
main reason why Fez 1.3 doesn't work with 2.2 apart from my previous =
about findObjects). The SOAP getDatastreamDissemination API-A call now
returns base64 encoded xml in the 'stream' element instead of the old =
plain xml text (non-encoded).
I'm saying I think it is undocumented because I haven't seen it =
and the http://www.fedora.info website seems to be down at the moment so I =
check for sure.
So all up I just needed to add two lines of code in our Fez API class =
this and findObjects), change the 'mgmt' to 'management' in some REST =
and remove some versionable and state params from some api calls and now =
1.3 works with Fedora 2.2. Pretty easy! We'll have a patch or a 1.3.1 =
maybe 1.4) release of Fez out soon with these changes (and in our =
Senior Library Systems Programmer / Lead Fez Developer
Library Technology Service
The University of Queensland, Australia QLD 4072
Telephone : (+61) (7) 3346 4337
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
Fedora-commons-users mailing list