Richard,
In general, debugging disseminators is tricky, as there are so many
layers of indirection. It gets even more confusing if your external web
service makes calls back to Fedora to retrieve data to create the
dissemination, as is your case.
I usually try to isolate each piece of my application stack, and test
each piece before moving up to the next layer. In this case, I would
first test to see that the objects exist and are available:
http://endure.dur.ac.uk:8080/fedora/get/UkDhU:Styles.0005/
http://endure.dur.ac.uk:8080/fedora/get/UkDhU:EADCatalogue.0217
That looks okay, so let's try the datastreams:
http://endure.dur.ac.uk:8080/fedora/get/UkDhU:Styles.0005/XSL returns a 404;
http://endure.dur.ac.uk:8080/fedora/get/UkDhU:EADCatalogue.0217/EADARCHIVE
returns a 403
Those are some problems right there.
I notice you're using the old style RESTful paths, but that you're
running Fedora 3.4.1.
You'll probably want to change your paths to conform to the current
RESTful interface:
https://wiki.duraspace.org/display/FEDORA34/REST+API
And try these URLs for your saxon 'style' parameter:
http://endure.dur.ac.uk:8080/fedora/objects/UkDhU:Styles.0005/datastreams/XSL/content
and this for your 'source":
http://endure.dur.ac.uk:8080/fedora/objects/UkDhU:EADCatalogue.0217/datastreams/EADARCHIVE/content
The XSL datastream works for me; but the EADARCHIVE datastream prompts
for me to log in, which may or may not be a problem.
Then you put it all back together:
http://endure.dur.ac.uk:8080/saxon/SaxonServlet?source=http://endure.dur
.ac.uk:8080/fedora/objects/UkDhU:EADCatalogue.0217/datastreams/EADARCHIVE/content&style=http://endure.dur.ac.uk:8080/fedora/objects/UkDhU:Styles.0005/datastreams/XSL/content&clear-stylesheet-cache=yes
I still get a 500 on that, but at least now you have some idea where to
look; my best guess would be that the SaxonServlet doesn't have
permissions to retrieve the EADARCHIVE datastream.
-- Scott
On 08/25/2011 12:03 PM, HIGGINS R.I. wrote:
> http://endure.dur.ac.uk:8080/saxon/SaxonServlet?source=http://endure.dur
> .ac.uk:8080/fedora/get/UkDhU:EADCatalogue.0217/EADARCHIVE&style=http://e
> ndure.dur.ac.uk:8080/fedora/get/UkDhU:Styles.0005/XSL&clear-stylesheet-c
> ache=yes
--
Scott Prater
Library, Instructional, and Research Applications (LIRA)
Division of Information Technology (DoIT)
University of Wisconsin - Madison
[email protected]
------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users