Hi Alex & Vincent

We do have an open issue on Tutorial 2:
https://jira.duraspace.org/browse/FCREPO-467

I have added a comment referencing this email thread so that the issues you
note get addressed.

Please feel free to vote for this issue, we try to take into account votes
when prioritising issues (if you don't have a JIRA account you'll need to
create one).

Regards
Steve

> -----Original Message-----
> From: Alex Rodriguez Lopez [mailto:[email protected]] 
> Sent: 19 August 2010 16:36
> To: Nguyen, Vincent (CDC/OSELS/NCPHI) (CTR)
> Cc: [email protected]
> Subject: Re: [fcrepo-user] 
> DisseminationBindingInfoNotFoundException - Example 4 in 
> Tutorial 2 - Fedora 3.4-RC1
> 
> 
> Thanks Vincent,
> 
> I'm getting pretty confused at the moment with Fedora :S .
> 
> Will check your solution tomorrow, probably go on testing on the 
> reference test repo before messing more with a local installation.
> 
> Alex
> 
> Em 19-08-2010 15:23, Nguyen, Vincent (CDC/OSELS/NCPHI) (CTR) escreveu:
> > Alex,
> >
> > I had the same problem you did. For some reason, Fedora 
> can't seem to
> > access itself.  I get a 401 error when trying to call 
> getContent using a
> > redirect datastream.  Well, to get around this for now, I 
> just put the
> > Source XSL file (file to be redirected to) somewhere on a webserver
> > (http://myserver.com/file.xsl) and redirected to that.  
> This is just a
> > temporary solution.
> >
> > If someone knows a better way, I'd love to know as well.
> >
> > Vincent Vu Nguyen
> >
> > -----Original Message-----
> > From: Alex Rodriguez Lopez [mailto:[email protected]]
> > Sent: Wednesday, August 18, 2010 11:03 AM
> > To: [email protected]
> > Subject: [fcrepo-user] DisseminationBindingInfoNotFoundException -
> > Example 4 in Tutorial 2 - Fedora 3.4-RC1
> >
> > Hi!
> >
> > I was just getting through tutorial 2 and, while got succesfully
> > workingall examples including example 3 (using Fedora 
> 3.4-RC1), example
> > 4 gave me an error while trying to access the disseminated content.
> >
> > So accessing with the browser
> > https://localhost:8443/fedora/objects/demo:500/methods
> >
> > lists methods ok
> >
> > but trying out the first method getContent()
> > 
> https://localhost:8443/fedora/objects/demo:500/methods/demo:ex
> 3SDef/getC
> > ontent?
> >
> > gets error
> >
> > javax.ws.rs.WebApplicationException:
> > org.fcrepo.server.errors.DisseminationBindingInfoNotFoundException:
> > [DisseminationService] Dissemination Binding Info contained no data
> >     at
> > 
> org.fcrepo.server.rest.BaseRestResource.handleException(BaseRe
> stResource
> > .java:168)
> >     at
> > 
> org.fcrepo.server.rest.MethodResource.invokeSDefMethodUsingGET
> (MethodRes
> > ource.java:104
> > ...
> >
> > This is strange because example 3 (without using redirect 
> for the XSL)
> > runs OK
> >
> > 
> https://localhost:8443/fedora/objects/demo:300/methods/demo:ex
> 3SDef/getC
> > ontent?
> >
> > gets the expected "poem" response. (guessing the 
> ContentModel thing is
> > correctly configured).
> >
> > So I guess I'm doing something wrong referencing this 
> redirected XSL, or
> >
> > while creating it.
> >
> > Any suggestions on what could I be doing wrong?
> >
> > Regards,
> >
> > Alex.
> >
> > [follows the XML of object demo:500]
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <foxml:digitalObject VERSION="1.1" PID="demo:500"
> > xmlns:foxml="info:fedora/fedora-system:def/foxml#"
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > xsi:schemaLocation="info:fedora/fedora-system:def/foxml#
> > http://www.fedora.info/definitions/1/0/foxml1-1.xsd";>
> > <foxml:objectProperties>
> > <foxml:property NAME="info:fedora/fedora-system:def/model#state"
> > VALUE="Active"/>
> > <foxml:property NAME="info:fedora/fedora-system:def/model#label"
> > VALUE="Demo 5 disseminator"/>
> > <foxml:property NAME="info:fedora/fedora-system:def/model#ownerId"
> > VALUE="fedoraAdmin"/>
> > <foxml:property 
> NAME="info:fedora/fedora-system:def/model#createdDate"
> > VALUE="2010-08-18T14:05:48.807Z"/>
> > <foxml:property
> > NAME="info:fedora/fedora-system:def/view#lastModifiedDate"
> > VALUE="2010-08-18T14:10:50.714Z"/>
> > </foxml:objectProperties>
> > <foxml:datastream ID="AUDIT" STATE="A" CONTROL_GROUP="X"
> > VERSIONABLE="false">
> > <foxml:datastreamVersion ID="AUDIT.0" LABEL="Audit Trail for this
> > object" CREATED="2010-08-18T14:05:48.807Z" MIMETYPE="text/xml"
> > FORMAT_URI="info:fedora/fedora-system:format/xml.fedora.audit">
> > <foxml:xmlContent>
> > <audit:auditTrail 
> xmlns:audit="info:fedora/fedora-system:def/audit#">
> > <audit:record ID="AUDREC1">
> > <audit:process type="Fedora API-M"/>
> > <audit:action>ingest</audit:action>
> > <audit:componentID></audit:componentID>
> > <audit:responsibility>fedoraAdmin</audit:responsibility>
> > <audit:date>2010-08-18T14:05:48.807Z</audit:date>
> > <audit:justification>Created with Admin GUI&quot;New Object&quot;
> > command</audit:justification>
> > </audit:record>
> > <audit:record ID="AUDREC2">
> > <audit:process type="Fedora API-M"/>
> > <audit:action>addDatastream</audit:action>
> > <audit:componentID>Source</audit:componentID>
> > <audit:responsibility>fedoraAdmin</audit:responsibility>
> > <audit:date>2010-08-18T14:06:48.819Z</audit:date>
> > <audit:justification>DatastreamsPane generated this
> > logMessage.</audit:justification>
> > </audit:record>
> > <audit:record ID="AUDREC3">
> > <audit:process type="Fedora API-M"/>
> > <audit:action>addDatastream</audit:action>
> > <audit:componentID>XSL</audit:componentID>
> > <audit:responsibility>fedoraAdmin</audit:responsibility>
> > <audit:date>2010-08-18T14:07:17.703Z</audit:date>
> > <audit:justification>DatastreamsPane generated this
> > logMessage.</audit:justification>
> > </audit:record>
> > <audit:record ID="AUDREC4">
> > <audit:process type="Fedora API-M"/>
> > <audit:action>addDatastream</audit:action>
> > <audit:componentID>RELS-EXT</audit:componentID>
> > <audit:responsibility>fedoraAdmin</audit:responsibility>
> > <audit:date>2010-08-18T14:10:50.714Z</audit:date>
> > <audit:justification></audit:justification>
> > </audit:record>
> > </audit:auditTrail>
> > </foxml:xmlContent>
> > </foxml:datastreamVersion>
> > </foxml:datastream>
> > <foxml:datastream ID="DC" STATE="A" CONTROL_GROUP="X"
> > VERSIONABLE="true">
> > <foxml:datastreamVersion ID="DC1.0" LABEL="Dublin Core 
> Record for this
> > object" CREATED="2010-08-18T14:05:48.807Z" MIMETYPE="text/xml"
> > FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/"; SIZE="380">
> > <foxml:xmlContent>
> > <oai_dc:dc 
> xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/";
> > xmlns:dc="http://purl.org/dc/elements/1.1/";
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/
> > http://www.openarchives.org/OAI/2.0/oai_dc.xsd";>
> >     <dc:title>Demo 5 disseminator</dc:title>
> >     <dc:identifier>demo:500</dc:identifier>
> > </oai_dc:dc>
> > </foxml:xmlContent>
> > </foxml:datastreamVersion>
> > </foxml:datastream>
> > <foxml:datastream ID="Source" STATE="A" CONTROL_GROUP="M"
> > VERSIONABLE="true">
> > <foxml:datastreamVersion ID="Source.0" LABEL="Poem XML source."
> > CREATED="2010-08-18T14:06:48.819Z" MIMETYPE="text/xml" SIZE="819">
> > <foxml:contentLocation TYPE="INTERNAL_ID"
> > REF="demo:500+Source+Source.0"/>
> > </foxml:datastreamVersion>
> > </foxml:datastream>
> > <foxml:datastream ID="XSL" STATE="A" CONTROL_GROUP="R"
> > VERSIONABLE="true">
> > <foxml:datastreamVersion ID="XSL.0" LABEL="Poem XSL transform"
> > CREATED="2010-08-18T14:07:17.703Z" MIMETYPE="text/xml">
> > <foxml:contentLocation TYPE="URL"
> > REF="https://localhost:8443/fedora/get/demo:400/XSL"/>
> > </foxml:datastreamVersion>
> > </foxml:datastream>
> > <foxml:datastream ID="RELS-EXT" STATE="A" CONTROL_GROUP="X"
> > VERSIONABLE="true">
> > <foxml:datastreamVersion ID="RELS-EXT.0" LABEL="RDF Statements about
> > this object" CREATED="2010-08-18T14:10:50.714Z"
> > MIMETYPE="application/rdf+xml"
> > FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" SIZE="265">
> > <foxml:xmlContent>
> > <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";>
> >     <rdf:Description rdf:about="info:fedora/demo:500">
> >       <hasModel xmlns="info:fedora/fedora-system:def/model#"
> > rdf:resource="info:fedora/demo:ex3CModel"></hasModel>
> >     </rdf:Description>
> > </rdf:RDF>
> > </foxml:xmlContent>
> > </foxml:datastreamVersion>
> > </foxml:datastream>
> > </foxml:digitalObject>
> >
> > 
> --------------------------------------------------------------
> ----------
> > ------
> > This SF.net email is sponsored by
> >
> > Make an app they can't live without
> > Enter the BlackBerry Developer Challenge
> > http://p.sf.net/sfu/RIM-dev2dev
> > _______________________________________________
> > Fedora-commons-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
> >
> >
> 
> --------------------------------------------------------------
> ----------------
> This SF.net email is sponsored by 
> 
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev 
> _______________________________________________
> Fedora-commons-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
> 


------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to