This has been the case since the pre-CMA bdef/bmech/object days, I believe. It was inelegant then. I don't see a Jira task focused on ameliorating the issue. Shall I create one with some examples, or is this something that ought be handled as part of some other issue?
--- A. Soroka Digital Research and Scholarship R & D and Online Library Environment the University of Virginia Library On Nov 12, 2010, at 7:37 PM, Steve Bayliss wrote: > Hello Eugene > > You're not missing something, the way things are structured in the CMA at > the moment any implementation (definition) of a method expects to have a > datastream as an input, which doesn't allow for services that indirectly > make use of an object's properties/information eg through an RI query. > > So it's a kind of a hack, but it's also useful to know how people see the > CMA being used "in the field" to guide what the CMA should look like in the > future. > > Steve > > -----Original Message----- > From: Eugene Wolfson [mailto:evulfson+fed...@gmail.com] > Sent: 12 November 2010 21:42 > To: fedora-commons-users@lists.sourceforge.net > Subject: Re: [fcrepo-user] "Dissemination Binding Info contained no data" > error for method without datastreams > > > The solution is to add the DC datastream to the DSINPUTSPEC of the > service deployment object. You don't even need to use the DC > datastream anywhere, as far as I can tell (for instance in the WSDL > datastream). I guess there's no harm to adding the dc datastream to > each method, but it still feels like a hack to add an unused > datastream, or am I missing something? > > - Eugene Wolfson > > On Fri, Nov 12, 2010 at 4:28 PM, Eugene Wolfson > <evulfson+fed...@gmail.com> wrote: >> Hello, >> >> I am getting the following error when going to >> http://example.org/fedora/get/someNS:somePID/someNS:Sequence/list_members >> org.fcrepo.server.errors.DisseminationBindingInfoNotFoundException: >> [DisseminationService] Dissemination Binding Info contained no data >> My situation is similar to that described at >> https://wiki.duraspace.org/spaces/viewthread.action?key=FCKB&id=8750770 >> in that I am using an object that has no datastreams other than >> RELS-EXT or DC. Can I use a method with a service, without binding a >> datastream to it? What's a good approach to >> >> ---- >> Here are some more specifics: >> >> I am trying to implement a sequence in fedora-commons, using the CMA. >> >> Again, I have a simple data object that has no datastreams, other than >> RELS-EXT and DC. >> Its content model has a Sequence service definition and deployment. >> The sequence service is as follows: >> It has two methods: >> method="list_members" label="An xml unordered list of members in > the >> collection" >> method="get_member" label="Retrieves the pid of the member at the > given index" >> Each method has a url-pattern to an risearch sparql query with >> <default-input name="uri" value="$objuri"/> >> <default-input name="FORMAT" value="Sparql"/> >> I verified that the query is valid by testing with both the risearch >> GUI at /fedora/risearch and by pasting the encoded form of the query >> into a browser, with (parameters) replaced by actual values - and I >> get the result I expected. >> >> I attached the ezDep and ezDef and also, the actual foxml for the >> SequenceImpl. The only difference between the SequenceEzDep and >> SequenceImpl is that SequenceImpl is a contractor of more than one >> content model - I couldn't figure out how to list more than one cmodel >> entry in ezDep. >> >> >> Thank you, >> >> Eugene W. >> >> P.S. Sorry if this was double sent. >> > > ---------------------------------------------------------------------------- > -- > Centralized Desktop Delivery: Dell and VMware Reference Architecture > Simplifying enterprise desktop deployment and management using > Dell EqualLogic storage and VMware View: A highly scalable, end-to-end > client virtualization framework. Read more! > http://p.sf.net/sfu/dell-eql-dev2dev > _______________________________________________ > Fedora-commons-users mailing list > Fedora-commons-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/fedora-commons-users > > > ------------------------------------------------------------------------------ > Centralized Desktop Delivery: Dell and VMware Reference Architecture > Simplifying enterprise desktop deployment and management using > Dell EqualLogic storage and VMware View: A highly scalable, end-to-end > client virtualization framework. Read more! > http://p.sf.net/sfu/dell-eql-dev2dev > _______________________________________________ > Fedora-commons-users mailing list > Fedora-commons-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/fedora-commons-users ------------------------------------------------------------------------------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev _______________________________________________ Fedora-commons-users mailing list Fedora-commons-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fedora-commons-users