/
correct here
correct here
Correctly escaped UVa SDep for J2k objects
<?xml version="1.0" encoding="UTF-8"?> <foxml:digitalObject FEDORA_URI="info:fedora/djatoka:jp2SDep" PID="djatoka:jp2SDep" VERSION="1.1" 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="Service Deployment Object implementing the aDORe djatoka Services"/> <foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="fedoraAdmin"/> <foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="2009-04-22T19:58:30.911Z"/> <foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2009-04-24T14:51:51.851Z"/> </foxml:objectProperties> <foxml:datastream CONTROL_GROUP="X" FEDORA_URI="info:fedora/djatoka:jp2SDep/DC" ID="DC" STATE="A" VERSIONABLE="true"> <foxml:datastreamVersion CREATED="2009-05-12T17:09:42.609Z" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" ID="DC1.0" LABEL="Dublin Core Record for this Object" MIMETYPE="text/xml" SIZE="427"> <foxml:xmlContent> <oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" 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>Service Deployment Object implementing the djatoka Services</dc:title> <dc:identifier>djatoka:jp2SDep</dc:identifier> </oai_dc:dc> </foxml:xmlContent> </foxml:datastreamVersion> </foxml:datastream> <foxml:datastream CONTROL_GROUP="X" FEDORA_URI="info:fedora/djatoka:jp2SDep/RELS-EXT" ID="RELS-EXT" STATE="A" VERSIONABLE="true"> <foxml:datastreamVersion CREATED="2008-12-28T17:09:42.609Z" FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" ID="RELS-EXT1.0" LABEL="RDF Statements about this object" MIMETYPE="application/rdf+xml" SIZE="596"> <foxml:xmlContent> <rdf:RDF xmlns:fedora-model="info:fedora/fedora-system:def/model#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="info:fedora/djatoka:jp2SDep"> <fedora-model:hasModel rdf:resource="info:fedora/fedora-system:ServiceDeployment-3.0"/> <fedora-model:isDeploymentOf rdf:resource="info:fedora/djatoka:jp2SDef"/> <fedora-model:isContractorOf rdf:resource="info:fedora/djatoka:jp2CModel"/> </rdf:Description> </rdf:RDF> </foxml:xmlContent> </foxml:datastreamVersion> </foxml:datastream> <foxml:datastream CONTROL_GROUP="X" FEDORA_URI="info:fedora/djatoka:jp2SDep/METHODMAP" ID="METHODMAP" STATE="A" VERSIONABLE="true"> <foxml:datastreamVersion CREATED="2009-04-24T14:51:01.424Z" FORMAT_URI="info:fedora/fedora-system:FedoraSDepMethodMap-1.1" ID="METHODMAP.0" LABEL="Deployment Method Map" MIMETYPE="text/xml" SIZE="2002"> <foxml:xmlContent> <fmm:MethodMap bDefPID="djatoka:bDef" name="MethodMap - djatoka Service Methods" xmlns:fmm="http://fedora.comm.nsdlib.org/service/methodmap"> <fmm:Method operationName="getMetadata" wsdlMsgName="getMetadataRequest" wsdlMsgOutput="response"> <fmm:DatastreamInputParm parmName="source" passBy="URL_REF" required="true"/> <fmm:DefaultInputParm defaultValue="info:lanl-repo/svc/getMetadata" parmName="svc_id" passBy="VALUE" required="true"/> <fmm:MethodReturnType wsdlMsgName="response" wsdlMsgTOMIME="application/json"/> </fmm:Method> <fmm:Method operationName="getRegion" wsdlMsgName="getRegionRequest" wsdlMsgOutput="response"> <fmm:DatastreamInputParm parmName="source" passBy="URL_REF" required="true"/> <fmm:DefaultInputParm defaultValue="info:lanl-repo/svc/getRegion" parmName="svc_id" passBy="VALUE" required="true"/> <fmm:UserInputParm defaultValue="" parmName="region" passBy="VALUE" required="false"/> <fmm:UserInputParm defaultValue="0" parmName="rotate" passBy="VALUE" required="false"/> <fmm:UserInputParm defaultValue="-1" parmName="level" passBy="VALUE" required="false"/> <fmm:UserInputParm defaultValue="" parmName="scale" passBy="VALUE" required="false"/> <fmm:UserInputParm defaultValue="" parmName="clayers" passBy="VALUE" required="false"/> <fmm:UserInputParm defaultValue="image/jpeg" parmName="format" passBy="VALUE" required="false"/> <fmm:MethodReturnType wsdlMsgName="response" wsdlMsgTOMIME="image/jpeg"/> </fmm:Method> <fmm:Method operationName="getImageView" wsdlMsgName="getImageViewRequest" wsdlMsgOutput="response"> <fmm:DatastreamInputParm parmName="source" passBy="URL_REF" required="true"/> <fmm:DefaultInputParm defaultValue="viewer.html" parmName="svc_id" passBy="VALUE" required="true"/> <fmm:MethodReturnType wsdlMsgName="response" wsdlMsgTOMIME="text/html"/> </fmm:Method> </fmm:MethodMap> </foxml:xmlContent> </foxml:datastreamVersion> </foxml:datastream> <foxml:datastream CONTROL_GROUP="X" FEDORA_URI="info:fedora/djatoka:jp2SDep/DSINPUTSPEC" ID="DSINPUTSPEC" STATE="A" VERSIONABLE="true"> <foxml:datastreamVersion CREATED="2009-04-22T20:09:39.600Z" FORMAT_URI="info:fedora/fedora-system:FedoraDSInputSpec-1.1" ID="DSINPUTSPEC.0" LABEL="Datastream Input Specification" MIMETYPE="text/xml" SIZE="492"> <foxml:xmlContent> <fbs:DSInputSpec label="Data profile mapping to the Fedora Local Djatoka Service" xmlns:fbs="http://fedora.comm.nsdlib.org/service/bindspec"> <fbs:DSInput DSMax="1" DSMin="1" DSOrdinality="false" wsdlMsgPartName="source"> <fbs:DSInputLabel>JP2 source file</fbs:DSInputLabel> <fbs:DSMIME>image/jp2</fbs:DSMIME> <fbs:DSInputInstruction>JP2 source file to be transformed</fbs:DSInputInstruction> </fbs:DSInput> </fbs:DSInputSpec> </foxml:xmlContent> </foxml:datastreamVersion> </foxml:datastream> <foxml:datastream CONTROL_GROUP="X" FEDORA_URI="info:fedora/djatoka:jp2SDep/WSDL" ID="WSDL" STATE="A" VERSIONABLE="true"> <foxml:datastreamVersion CREATED="2009-04-24T14:51:51.851Z" FORMAT_URI="http://schemas.xmlsoap.org/wsdl/" ID="WSDL.0" LABEL="WSDL Bindings" MIMETYPE="text/xml" SIZE="3545"> <foxml:xmlContent> <wsdl:definitions name="Fedora Local Djatoka Service" targetNamespace="djatoka" 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="djatoka" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <wsdl:types> <xsd:schema targetNamespace="djatoka"> <xsd:simpleType name="URLType"> <xsd:restriction base="xsd:string"/> </xsd:simpleType> </xsd:schema> </wsdl:types> <wsdl:message name="getMetadataRequest"> <wsdl:part name="source" type="this:URLType"/> <wsdl:part name="svc_id" type="this:URLType"/> </wsdl:message> <wsdl:message name="getRegionRequest"> <wsdl:part name="source" type="this:URLType"/> <wsdl:part name="svc_id" type="this:URLType"/> </wsdl:message> <wsdl:message name="getImageViewRequest"> <wsdl:part name="source" type="this:URLType"/> <wsdl:part name="svc_id" type="this:URLType"/> </wsdl:message> <wsdl:message name="response"> <wsdl:part name="exhibit" type="xsd:base64Binary"/> </wsdl:message> <wsdl:portType name="FedoraDjatokaPortType"> <wsdl:operation name="getMetadata"> <wsdl:input message="this:getMetadataRequest"/> <wsdl:output message="this:response"/> </wsdl:operation> <wsdl:operation name="getRegion"> <wsdl:input message="this:getRegionRequest"/> <wsdl:output message="this:response"/> </wsdl:operation> <wsdl:operation name="getImageView"> <wsdl:input message="this:getImageViewRequest"/> <wsdl:output message="this:response"/> </wsdl:operation> </wsdl:portType> <wsdl:service name="FedoraDjatoka"> <wsdl:port binding="this:FedoraDjatoka_http" name="FedoraDjatoka_port"> <http:address location="http://localhost:8080/adore-djatoka/"/> </wsdl:port> </wsdl:service> <wsdl:binding name="FedoraDjatoka_http" type="this:FedoraDjatokaPortType"> <http:binding verb="GET"/> <wsdl:operation name="getMetadata"> <http:operation location="resolver?url_ver=Z39.88-2004&rft_id=(source)&svc_id=(svc_id)"/> <wsdl:input> <http:urlReplacement/> </wsdl:input> <wsdl:output> <mime:content type="application/json"/> </wsdl:output> </wsdl:operation> <wsdl:operation name="getRegion"> <http:operation location="resolver?url_ver=Z39.88-2004&rft_id=(source)&svc_id=(svc_id)&svc_val_fmt=info:ofi/fmt:kev:mtx:jpeg2000&svc.format=(format)&svc.level=(level)&svc.rotate=(rotate)&svc.region=(region)&svc.scale=(scale)&svc.clayers=(clayers)"/> <wsdl:input> <http:urlReplacement/> </wsdl:input> <wsdl:output> <mime:content type="image/jpeg"/> </wsdl:output> </wsdl:operation> <wsdl:operation name="getImageView"> <http:operation location="viewer.html"/> <wsdl:input> <http:urlReplacement/> </wsdl:input> <wsdl:output> <mime:content type="text/html"/> </wsdl:output> </wsdl:operation> </wsdl:binding> </wsdl:definitions> </foxml:xmlContent> </foxml:datastreamVersion> </foxml:datastream> </foxml:digitalObject>