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.
<sdef pid="trace:Sequence" label="Service Definition Object (Sequence) for Trace Repository">
<method name="list_members" label="An xml unordered list of members in the collection"></method>
<method name="get_member" label="Retrieves the pid of the member at the given sequence index">
<user-input name="ordinal" label="An integer describing position in a sequence" optional="false"></user-input>
</method>
</sdef>
<sdep pid="trace:SequenceImpl"
cmodel="trace:Work"
label="Service Deployment Object (Sequence) for Trace Repository"><!-- cmodel="trace:Volume" -->
<impl method="list_members" label="An xml unordered list of members in the collection">
<default-input name="uri" value="$objuri"/>
<default-input name="FORMAT" value="Sparql"/>
<url-pattern>
http://10.0.102.11:8082/fedora/risearch
?type=tuples
&lang=sparql
&format=(FORMAT)
&query=select+%24memberTitle
+from+%3C%23ri%3E
+where+%7B
+%24memberTitle+%3Cfedora-rels-ext%3AisMemberOf%3E+%3C(uri)%3E
+%7D
</url-pattern>
</impl>
<impl method="get_member" label="Retrieves the pid of the member at the given index">
<default-input name="uri" value="$objuri"/>
<default-input name="FORMAT" value="Sparql"/>
<url-pattern>
http://10.0.102.11:8082/fedora/risearch
?type=tuples
&lang=sparql
&format=(FORMAT)
&query=select+%24memberTitle
+from+%3C%23ri%3E
+where+%7B
+%24memberTitle+%3Cfedora-rels-ext%3AisMemberOf%3E+%3C(uri)%3E+.
+%24memberTitle+%3Ctrace-rels%3AsequencePosition%3E+(ordinal)
+%7D
</url-pattern>
</impl>
</sdep>
<?xml version="1.0" encoding="UTF-8"?>
<foxml:digitalObject xmlns:foxml="info:fedora/fedora-system:def/foxml#" VERSION="1.1"
PID="trace:SequenceImpl">
<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="Service Deployment Object (Sequence) for Trace Repository"/>
</foxml:objectProperties>
<foxml:datastream ID="RELS-EXT" CONTROL_GROUP="X" STATE="A" VERSIONABLE="true">
<foxml:datastreamVersion ID="RELS-EXT1.0" MIMETYPE="application/rdf+xml"
FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0"
LABEL="RDF Statements about this object">
<foxml:xmlContent>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:fedora-model="info:fedora/fedora-system:def/model#">
<rdf:Description rdf:about="info:fedora/trace:SequenceImpl">
<fedora-model:hasModel rdf:resource="info:fedora/fedora-system:ServiceDeployment-3.0"/>
<fedora-model:isDeploymentOf rdf:resource="info:fedora/trace:Sequence"/>
<fedora-model:isContractorOf rdf:resource="info:fedora/trace:Work"/>
<fedora-model:isContractorOf rdf:resource="info:fedora/trace:Volume"/>
</rdf:Description>
</rdf:RDF>
</foxml:xmlContent>
</foxml:datastreamVersion>
</foxml:datastream>
<foxml:datastream ID="METHODMAP" CONTROL_GROUP="X" STATE="A" VERSIONABLE="true">
<foxml:datastreamVersion ID="METHODMAP1.0"
FORMAT_URI="info:fedora/fedora-system:FedoraSDepMethodMap-1.1"
LABEL="Deployment Method Map"
MIMETYPE="text/xml">
<foxml:xmlContent>
<fmm:MethodMap xmlns:fmm="http://fedora.comm.nsdlib.org/service/methodmap" name="N/A">
<fmm:method operationName="list_members" wsdlMsgName="list_membersRequest"
wsdlMsgOutput="response">
<fmm:DefaultInputParm parmName="uri" defaultValue="$objuri" passBy="VALUE" required="TRUE"/>
<fmm:DefaultInputParm parmName="FORMAT" defaultValue="Sparql" passBy="VALUE" required="TRUE"/>
<fmm:MethodReturnType wsdlMsgName="response" wsdlMsgTOMIME="N/A"/>
</fmm:method>
<fmm:method operationName="get_member" wsdlMsgName="get_memberRequest"
wsdlMsgOutput="response">
<fmm:UserInputParm parmName="ordinal" defaultValue="" required="true" passBy="VALUE"/>
<fmm:DefaultInputParm parmName="uri" defaultValue="$objuri" passBy="VALUE" required="TRUE"/>
<fmm:DefaultInputParm parmName="FORMAT" defaultValue="Sparql" passBy="VALUE" required="TRUE"/>
<fmm:MethodReturnType wsdlMsgName="response" wsdlMsgTOMIME="N/A"/>
</fmm:method>
</fmm:MethodMap>
</foxml:xmlContent>
</foxml:datastreamVersion>
</foxml:datastream>
<foxml:datastream ID="DSINPUTSPEC" CONTROL_GROUP="X" STATE="A" VERSIONABLE="true">
<foxml:datastreamVersion ID="DSINPUTSPEC1.0" MIMETYPE="text/xml"
FORMAT_URI="info:fedora/fedora-system:FedoraDSInputSpec-1.1"
LABEL="Datastream Input Specification">
<foxml:xmlContent>
<fbs:DSInputSpec xmlns:fbs="http://fedora.comm.nsdlib.org/service/bindspec" label="N/A"/>
</foxml:xmlContent>
</foxml:datastreamVersion>
</foxml:datastream>
<foxml:datastream ID="WSDL" CONTROL_GROUP="X" STATE="A" VERSIONABLE="true">
<foxml:datastreamVersion ID="WSDL1.0" MIMETYPE="text/xml" FORMAT_URI="http://schemas.xmlsoap.org/wsdl/"
LABEL="WSDL Bindings">
<foxml:xmlContent>
<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap"
xmlns:soapenc="http://schemas.xmlsoap.org/wsdl/soap/encoding"
xmlns:this="urn:thisNamespace"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
name="N/A"
targetNamespace="urn:thisNamespace">
<wsdl:types>
<xsd:schema targetNamespace="urn:thisNamespace">
<xsd:simpleType name="inputType">
<xsd:restriction base="xsd:string"/>
</xsd:simpleType>
</xsd:schema>
</wsdl:types>
<wsdl:message name="list_membersRequest">
<wsdl:part name="uri" type="this:inputType"/>
<wsdl:part name="FORMAT" type="this:inputType"/>
</wsdl:message>
<wsdl:message name="response">
<wsdl:part name="response" type="xsd:base64Binary"/>
</wsdl:message>
<wsdl:message name="get_memberRequest">
<wsdl:part name="ordinal" type="this:inputType"/>
<wsdl:part name="uri" type="this:inputType"/>
<wsdl:part name="FORMAT" type="this:inputType"/>
</wsdl:message>
<wsdl:message name="response">
<wsdl:part name="response" type="xsd:base64Binary"/>
</wsdl:message>
<wsdl:portType name="portType">
<wsdl:operation name="list_members">
<wsdl:input message="this:list_membersRequest"/>
<wsdl:output message="this:response"/>
</wsdl:operation>
<wsdl:operation name="get_member">
<wsdl:input message="this:get_memberRequest"/>
<wsdl:output message="this:response"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:service name="N/A">
<wsdl:port binding="this:binding" name="port">
<http:address location="LOCAL"/>
</wsdl:port>
</wsdl:service>
<wsdl:binding name="binding" type="this:portType">
<http:binding verb="GET"/>
<wsdl:operation name="list_members">
<http:operation location="http://10.0.102.11:8082/fedora/risearch?type=tuples&lang=sparql&format=(FORMAT)&query=select+%24memberTitle+from+%3C%23ri%3E+where+%7B+%24memberTitle+%3Cfedora-rels-ext%3AisMemberOf%3E+%3C(uri)%3E+%7D"/>
<wsdl:input>
<http:urlReplacement/>
</wsdl:input>
<wsdl:output>
<mime:content type="N/A"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="get_member">
<http:operation location="http://10.0.102.11:8082/fedora/risearch?type=tuples&lang=sparql&format=(FORMAT)&query=select+%24memberTitle+from+%3C%23ri%3E+where+%7B+%24memberTitle+%3Cfedora-rels-ext%3AisMemberOf%3E+%3C(uri)%3E+.+%24memberTitle+%3Ctrace-rels%3AsequencePosition%3E+(ordinal)+%7D"/>
<wsdl:input>
<http:urlReplacement/>
</wsdl:input>
<wsdl:output>
<mime:content type="N/A"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
</wsdl:definitions>
</foxml:xmlContent>
</foxml:datastreamVersion>
</foxml:datastream>
</foxml:digitalObject>------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users