Hi Christiaan,

Thanks for going through this process and reporting back on
your experiences.

Regarding the API changes: in general, the SOAP encoding
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
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
prior versions of Fedora, when using SOAP, the content of the
datastreams went over the wire as base64-encoded.  All that
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!
> 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
to see this!

Cheers,
Chris

-----Original Message-----
From: fedora-commons-users-bounces@lists.sourceforge.net on behalf of Christiaan Kortekaas
Sent: Tue 4/17/2007 9:49 PM
To: fedora-commons-users@lists.sourceforge.net; fez-users@lists.sourceforge.net
Subject: [Fedora-commons-users] Another 2.2 undocumented API-A change? (getDatastreamDissemination - base64 encoded xml stream)

Hi All

I think I've found another undocumented change in 2.2 from 2.1.1 (and the
main reason why Fez 1.3 doesn't work with 2.2 apart from my previous email
about findObjects). The SOAP getDatastreamDissemination API-A call now
returns base64 encoded xml in the 'stream' element instead of the old 2.1.1
plain xml text (non-encoded).

I'm saying I think it is undocumented because I haven't seen it previously
and the www.fedora.info website seems to be down at the moment so I can't
check for sure.

So all up I just needed to add two lines of code in our Fez API class (for
this and findObjects), change the 'mgmt' to 'management' in some REST calls,
and remove some versionable and state params from some api calls and now Fez
1.3 works with Fedora 2.2. Pretty easy! 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).

Cheers,

Christiaan

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Christiaan Kortekaas
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.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users