InstallingIMSWebservice: bMech.xml

File bMech.xml, 8.9 kB (added by dchen, 7 months ago)
Line 
1 <?xml version="1.0" encoding="UTF-8"?>
2 <foxml:digitalObject PID="ims:bmech"
3   fedoraxsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/definitions/1/0/foxml1-0.xsd"
4   xmlns:audit="info:fedora/fedora-system:def/audit#" xmlns:fedoraxsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:foxml="info:fedora/fedora-system:def/foxml#">
5   <foxml:objectProperties>
6     <foxml:property NAME="http://www.w3.org/1999/02/22-rdf-syntax-ns#type" VALUE="FedoraBMechObject"/>
7     <foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/>
8     <foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="the IMS bMech"/>
9     <foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="2007-11-02T07:00:47.646Z"/>
10     <foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2007-11-02T07:00:47.646Z"/>
11     <foxml:property NAME="info:fedora/fedora-system:def/model#contentModel" VALUE="fedora:BMECH"/>
12   </foxml:objectProperties>
13   <foxml:datastream CONTROL_GROUP="E" ID="DS1" STATE="A" VERSIONABLE="true">
14     <foxml:datastreamVersion CREATED="2007-11-02T07:00:43.000Z" ID="DS1.0" LABEL="IMS doc" MIMETYPE="text/html" SIZE="0">
15       <foxml:contentDigest DIGEST="none" TYPE="DISABLED"/>
16       <foxml:contentLocation REF="http://local.fedora.server/ims/doc" TYPE="URL"/>
17     </foxml:datastreamVersion>
18   </foxml:datastream>
19   <foxml:datastream CONTROL_GROUP="X" ID="WSDL" STATE="A" VERSIONABLE="true">
20     <foxml:datastreamVersion CREATED="2007-11-02T07:00:43.000Z"
21       FORMAT_URI="info:fedora/fedora-system:format/xml.mets.techMD.OTHER.UNSPECIFIED" ID="WSDL1.0"
22       LABEL="WSDL definition of service" MIMETYPE="text/xml" SIZE="2480">
23       <foxml:contentDigest DIGEST="none" TYPE="DISABLED"/>
24       <foxml:xmlContent>
25         <wsdl:definitions name="the IMS bMech" targetNamespace="bmech"
26           xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
27           xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap"
28           xmlns:soapenc="http://schemas.xmlsoap.org/wsdl/soap/encoding" xmlns:this="bmech"
29           xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
30           <wsdl:types>
31             <xsd:schema targetNamespace="bmech">
32               <xsd:simpleType name="urlType">
33                 <xsd:restriction base="xsd:string"/>
34               </xsd:simpleType>
35             </xsd:schema>
36           </wsdl:types>
37           <wsdl:message name="playImsObjectRequest">
38             <wsdl:part name="url" type="this:urlType"/>
39           </wsdl:message>
40           <wsdl:message name="dissemResponse">
41             <wsdl:part name="dissem" type="xsd:base64Binary"/>
42           </wsdl:message>
43           <wsdl:portType name="imsbMechPortType">
44             <wsdl:operation name="playImsObject">
45               <wsdl:input message="this:playImsObjectRequest"/>
46               <wsdl:output message="this:dissemResponse"/>
47             </wsdl:operation>
48           </wsdl:portType>
49           <wsdl:service name="imsbMech">
50             <wsdl:port binding="this:imsbMech_http" name="imsbMech_port">
51               <http:address location="http://local.fedora.server/ims/"/>
52             </wsdl:port>
53           </wsdl:service>
54           <wsdl:binding name="imsbMech_http" type="this:imsbMechPortType">
55             <http:binding verb="GET"/>
56             <wsdl:operation name="playImsObject">
57               <http:operation location="imsdemo!play.action?url=(url)"/>
58               <wsdl:input>
59                 <http:urlReplacement/>
60               </wsdl:input>
61               <wsdl:output>
62                 <mime:content type="test/html"/>
63               </wsdl:output>
64             </wsdl:operation>
65           </wsdl:binding>
66         </wsdl:definitions>
67       </foxml:xmlContent>
68     </foxml:datastreamVersion>
69   </foxml:datastream>
70   <foxml:datastream CONTROL_GROUP="X" ID="SERVICE-PROFILE" STATE="A" VERSIONABLE="true">
71     <foxml:datastreamVersion CREATED="2007-11-02T07:00:43.000Z"
72       FORMAT_URI="info:fedora/fedora-system:format/xml.mets.techMD.OTHER.UNSPECIFIED" ID="SERVICE-PROFILE1.0"
73       LABEL="Service Profile - Technical description of the service" MIMETYPE="text/xml" SIZE="998">
74       <foxml:contentDigest DIGEST="none" TYPE="DISABLED"/>
75       <foxml:xmlContent>
76         <fsvp:serviceProfile bDefPID="ims:bdef" name="IMSService" xmlns:fsvp="http://fedora.comm.nsdlib.org/service/profile">
77           <fsvp:serviceDescription>the IMS service</fsvp:serviceDescription>
78           <fsvp:serviceImplementation>
79             <fsvp:serviceLiveTestURL>http://local.fedora.server/ims/</fsvp:serviceLiveTestURL>
80             <fsvp:serviceMessagingProtocol>HTTP GET</fsvp:serviceMessagingProtocol>
81             <fsvp:serviceInputFormats>
82               <fsvp:MIMEType>application/zip</fsvp:MIMEType>
83             </fsvp:serviceInputFormats>
84             <fsvp:serviceOutputFormats>
85               <fsvp:MIMEType>text/html</fsvp:MIMEType>
86             </fsvp:serviceOutputFormats>
87             <fsvp:serviceImplDependencies/>
88           </fsvp:serviceImplementation>
89         </fsvp:serviceProfile>
90       </foxml:xmlContent>
91     </foxml:datastreamVersion>
92   </foxml:datastream>
93   <foxml:datastream CONTROL_GROUP="X" ID="DC" STATE="A" VERSIONABLE="true">
94     <foxml:datastreamVersion CREATED="2007-11-02T07:00:43.000Z"
95       FORMAT_URI="info:fedora/fedora-system:format/xml.mets.descMD.OTHER.UNSPECIFIED" ID="DC1.0"
96       LABEL="Dublin Core Metadata for Service" MIMETYPE="text/xml" SIZE="221">
97       <foxml:contentDigest DIGEST="none" TYPE="DISABLED"/>
98       <foxml:xmlContent>
99         <oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/">
100           <dc:title>the IMS bMech</dc:title>
101           <dc:identifier>ims:bmech</dc:identifier>
102         </oai_dc:dc>
103       </foxml:xmlContent>
104     </foxml:datastreamVersion>
105   </foxml:datastream>
106   <foxml:datastream CONTROL_GROUP="X" ID="DSINPUTSPEC" STATE="A" VERSIONABLE="true">
107     <foxml:datastreamVersion CREATED="2007-11-02T07:00:43.000Z"
108       FORMAT_URI="info:fedora/fedora-system:format/xml.mets.techMD.OTHER.UNSPECIFIED" ID="DSINPUTSPEC1.0"
109       LABEL="Datastream Input Specification for Service" MIMETYPE="text/xml" SIZE="559">
110       <foxml:contentDigest DIGEST="none" TYPE="DISABLED"/>
111       <foxml:xmlContent>
112         <fbs:DSInputSpec bDefPID="ims:bdef" label="Datastream Input Specification for the IMS bMech" xmlns:fbs="http://fedora.comm.nsdlib.org/service/bindspec">
113           <fbs:DSInput DSMax="1" DSMin="1" DSOrdinality="false" wsdlMsgPartName="url">
114             <fbs:DSInputLabel>url Binding</fbs:DSInputLabel>
115             <fbs:DSMIME>application/zip</fbs:DSMIME>
116             <fbs:DSInputInstruction/>
117           </fbs:DSInput>
118         </fbs:DSInputSpec>
119       </foxml:xmlContent>
120     </foxml:datastreamVersion>
121   </foxml:datastream>
122   <foxml:datastream CONTROL_GROUP="X" ID="METHODMAP" STATE="A" VERSIONABLE="true">
123     <foxml:datastreamVersion CREATED="2007-11-02T07:00:43.000Z"
124       FORMAT_URI="info:fedora/fedora-system:format/xml.mets.techMD.OTHER.UNSPECIFIED" ID="METHODMAP1.0"
125       LABEL="Mapping of WSDL to Fedora notion of Method Definitions" MIMETYPE="text/xml" SIZE="670">
126       <foxml:contentDigest DIGEST="none" TYPE="DISABLED"/>
127       <foxml:xmlContent>
128         <fmm:MethodMap bDefPID="ims:bdef" name="MethodMap - the IMS bMech" xmlns:fmm="http://fedora.comm.nsdlib.org/service/methodmap">
129           <fmm:Method operationLabel="Play IMS learning object" operationName="playImsObject"
130             wsdlMsgName="playImsObjectRequest" wsdlMsgOutput="dissemResponse">
131             <fmm:DatastreamInputParm defaultValue="" label="" parmName="url" passBy="URL_REF" required="true"/>
132             <fmm:MethodReturnType wsdlMsgName="dissemResponse" wsdlMsgTOMIME="test/html"/>
133           </fmm:Method>
134         </fmm:MethodMap>
135       </foxml:xmlContent>
136     </foxml:datastreamVersion>
137   </foxml:datastream>
138   <foxml:disseminator BDEF_CONTRACT_PID="fedora-system:1" ID="DISS1" STATE="A" VERSIONABLE="true">
139     <foxml:disseminatorVersion BMECH_SERVICE_PID="fedora-system:2" CREATED="2007-11-02T07:00:43.000Z" ID="DISS1.0" LABEL="Bootstrap Behaviors for a behavior object">
140       <foxml:serviceInputMap>
141         <foxml:datastreamBinding DATASTREAM_ID="SERVICE-PROFILE" KEY="SERVICE-PROFILE" LABEL="XML data that describes the technical nature of the service"/>
142         <foxml:datastreamBinding DATASTREAM_ID="DSINPUTSPEC" KEY="FEDORA-TO-WSDL-DSINPUTSPEC" LABEL="XML data that describes the requirements for Datastreams that will be used as input to this service"/>
143         <foxml:datastreamBinding DATASTREAM_ID="METHODMAP" KEY="FEDORA-TO-WSDL-METHODMAP" LABEL="XML data that enables Fedora to understand how to use the service WSDL"/>
144         <foxml:datastreamBinding DATASTREAM_ID="WSDL" KEY="WSDL" LABEL="Service definition in WSDL format."/>
145         <foxml:datastreamBinding DATASTREAM_ID="DS1" KEY="SERVICEDOC" LABEL="Documentation for the behavior object"/>
146       </foxml:serviceInputMap>
147     </foxml:disseminatorVersion>
148   </foxml:disseminator>
149 </foxml:digitalObject>