Sections
Your way to success








You are here: Home Solutions ARCHmedia Framework Behaviour Mechanism
Document Actions

Behaviour Mechanism

by thm last modified 2007-05-02 08:12

BMech

Click here to get the file

Size 12.4 kB - File type text/xml

File contents

<?xml version="1.0" encoding="UTF-8"?>
<foxml:digitalObject PID="internal:20000"
  fedoraxsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/definitions/1/0/foxml1-0.xsd"
  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#">
  <foxml:objectProperties>
    <foxml:property NAME="http://www.w3.org/1999/02/22-rdf-syntax-ns#type" VALUE="FedoraBMechObject"/>
    <foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/>
    <foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="image processing BMECH 01"/>
    <foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="2007-04-29T09:05:08.272Z"/>
    <foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2007-04-29T09:05:08.272Z"/>
    <foxml:property NAME="info:fedora/fedora-system:def/model#contentModel" VALUE="fedora:BMECH"/>
  </foxml:objectProperties>
  <foxml:datastream CONTROL_GROUP="E" ID="DS1" STATE="A" VERSIONABLE="true">
    <foxml:datastreamVersion CREATED="2007-04-29T09:05:08.241Z" ID="DS1.0" LABEL="image processing" MIMETYPE="text/html" SIZE="0">
      <foxml:contentDigest DIGEST="none" TYPE="DISABLED"/>
      <foxml:contentLocation REF="http://www.xtensive.com" TYPE="URL"/>
    </foxml:datastreamVersion>
  </foxml:datastream>
  <foxml:datastream CONTROL_GROUP="X" ID="WSDL" STATE="A" VERSIONABLE="true">
    <foxml:datastreamVersion CREATED="2007-04-29T09:05:08.241Z"
      FORMAT_URI="info:fedora/fedora-system:format/xml.mets.techMD.OTHER.UNSPECIFIED" ID="WSDL1.0"
      LABEL="WSDL definition of service" MIMETYPE="text/xml" SIZE="5589">
      <foxml:contentDigest DIGEST="none" TYPE="DISABLED"/>
      <foxml:xmlContent>
        <wsdl:definitions name="image processing BMECH 01" targetNamespace="bmech"
          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="bmech"
          xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
          <wsdl:types>
            <xsd:schema targetNamespace="bmech">
              <xsd:simpleType name="convertToType">
                <xsd:restriction base="xsd:string"/>
              </xsd:simpleType>
              <xsd:simpleType name="newWidthType">
                <xsd:restriction base="xsd:string"/>
              </xsd:simpleType>
              <xsd:simpleType name="wmTextType">
                <xsd:restriction base="xsd:string"/>
              </xsd:simpleType>
              <xsd:simpleType name="urlType">
                <xsd:restriction base="xsd:string"/>
              </xsd:simpleType>
            </xsd:schema>
          </wsdl:types>
          <wsdl:message name="convertRequest">
            <wsdl:part name="convertTo" type="this:convertToType"/>
            <wsdl:part name="url" type="this:urlType"/>
          </wsdl:message>
          <wsdl:message name="watermarkRequest">
            <wsdl:part name="wmText" type="this:wmTextType"/>
            <wsdl:part name="url" type="this:urlType"/>
          </wsdl:message>
          <wsdl:message name="resizeRequest">
            <wsdl:part name="newWidth" type="this:newWidthType"/>
            <wsdl:part name="url" type="this:urlType"/>
          </wsdl:message>
          <wsdl:message name="dissemResponse">
            <wsdl:part name="dissem" type="xsd:base64Binary"/>
          </wsdl:message>
          <wsdl:portType name="ImageProcessingBMECH01PortType">
            <wsdl:operation name="convert">
              <wsdl:input message="this:convertRequest"/>
              <wsdl:output message="this:dissemResponse"/>
            </wsdl:operation>
            <wsdl:operation name="watermark">
              <wsdl:input message="this:watermarkRequest"/>
              <wsdl:output message="this:dissemResponse"/>
            </wsdl:operation>
            <wsdl:operation name="resize">
              <wsdl:input message="this:resizeRequest"/>
              <wsdl:output message="this:dissemResponse"/>
            </wsdl:operation>
          </wsdl:portType>
          <wsdl:service name="ImageProcessingBMECH01">
            <wsdl:port binding="this:ImageProcessingBMECH01_http" name="ImageProcessingBMECH01_port">
              <http:address location="LOCAL"/>
            </wsdl:port>
          </wsdl:service>
          <wsdl:binding name="ImageProcessingBMECH01_http" type="this:ImageProcessingBMECH01PortType">
            <http:binding verb="GET"/>
            <wsdl:operation name="convert">
              <http:operation location="http://192.168.1.222:9999/imagemanip/ImageManipulation?op=convert&amp;convertTo=(convertTo)&amp;url=(url)"/>
              <wsdl:input>
                <http:urlReplacement/>
              </wsdl:input>
              <wsdl:output>
                <mime:content type="image/jpeg"/>
                <mime:content type="image/gif"/>
                <mime:content type="image/png"/>
                <mime:content type="image/tiff"/>
              </wsdl:output>
            </wsdl:operation>
            <wsdl:operation name="watermark">
              <http:operation location="http://192.168.1.222:9999/imagemanip/ImageManipulation?op=watermark&amp;wmText=(wmText)&amp;url=(url)"/>
              <wsdl:input>
                <http:urlReplacement/>
              </wsdl:input>
              <wsdl:output>
                <mime:content type="image/jpeg"/>
              </wsdl:output>
            </wsdl:operation>
            <wsdl:operation name="resize">
              <http:operation location="http://192.168.1.222:9999/imagemanip/ImageManipulation?op=resize&amp;newWidth=(newWidth)&amp;url=(url)"/>
              <wsdl:input>
                <http:urlReplacement/>
              </wsdl:input>
              <wsdl:output>
                <mime:content type="image/jpeg"/>
              </wsdl:output>
            </wsdl:operation>
          </wsdl:binding>
        </wsdl:definitions>
      </foxml:xmlContent>
    </foxml:datastreamVersion>
  </foxml:datastream>
  <foxml:datastream CONTROL_GROUP="X" ID="SERVICE-PROFILE" STATE="A" VERSIONABLE="true">
    <foxml:datastreamVersion CREATED="2007-04-29T09:05:08.241Z"
      FORMAT_URI="info:fedora/fedora-system:format/xml.mets.techMD.OTHER.UNSPECIFIED" ID="SERVICE-PROFILE1.0"
      LABEL="Service Profile - Technical description of the service" MIMETYPE="text/xml" SIZE="1012">
      <foxml:contentDigest DIGEST="none" TYPE="DISABLED"/>
      <foxml:xmlContent>
        <fsvp:serviceProfile bDefPID="internal:10000" name="image processing" xmlns:fsvp="http://fedora.comm.nsdlib.org/service/profile">
          <fsvp:serviceDescription>image processing BMECH 01</fsvp:serviceDescription>
          <fsvp:serviceImplementation>
            <fsvp:serviceLiveTestURL>http://192.168.1.222:9999/imagemanip</fsvp:serviceLiveTestURL>
            <fsvp:serviceMessagingProtocol>HTTP GET</fsvp:serviceMessagingProtocol>
            <fsvp:serviceInputFormats>
              <fsvp:MIMEType>image/jpeg</fsvp:MIMEType>
            </fsvp:serviceInputFormats>
            <fsvp:serviceOutputFormats>
              <fsvp:MIMEType>image/jpeg</fsvp:MIMEType>
            </fsvp:serviceOutputFormats>
            <fsvp:serviceImplDependencies/>
          </fsvp:serviceImplementation>
        </fsvp:serviceProfile>
      </foxml:xmlContent>
    </foxml:datastreamVersion>
  </foxml:datastream>
  <foxml:datastream CONTROL_GROUP="X" ID="DC" STATE="A" VERSIONABLE="true">
    <foxml:datastreamVersion CREATED="2007-04-29T09:05:08.241Z"
      FORMAT_URI="info:fedora/fedora-system:format/xml.mets.descMD.OTHER.UNSPECIFIED" ID="DC1.0"
      LABEL="Dublin Core Metadata for Service" MIMETYPE="text/xml" SIZE="238">
      <foxml:contentDigest DIGEST="none" TYPE="DISABLED"/>
      <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/">
          <dc:title>image processing BMECH 01</dc:title>
          <dc:identifier>internal:20000</dc:identifier>
        </oai_dc:dc>
      </foxml:xmlContent>
    </foxml:datastreamVersion>
  </foxml:datastream>
  <foxml:datastream CONTROL_GROUP="X" ID="DSINPUTSPEC" STATE="A" VERSIONABLE="true">
    <foxml:datastreamVersion CREATED="2007-04-29T09:05:08.241Z"
      FORMAT_URI="info:fedora/fedora-system:format/xml.mets.techMD.OTHER.UNSPECIFIED" ID="DSINPUTSPEC1.0"
      LABEL="Datastream Input Specification for Service" MIMETYPE="text/xml" SIZE="572">
      <foxml:contentDigest DIGEST="none" TYPE="DISABLED"/>
      <foxml:xmlContent>
        <fbs:DSInputSpec bDefPID="internal:10000" label="Datastream Input Specification for image processing BMECH 01" xmlns:fbs="http://fedora.comm.nsdlib.org/service/bindspec">
          <fbs:DSInput DSMax="1" DSMin="1" DSOrdinality="false" wsdlMsgPartName="url">
            <fbs:DSInputLabel>url Binding</fbs:DSInputLabel>
            <fbs:DSMIME>image/jpeg</fbs:DSMIME>
            <fbs:DSInputInstruction/>
          </fbs:DSInput>
        </fbs:DSInputSpec>
      </foxml:xmlContent>
    </foxml:datastreamVersion>
  </foxml:datastream>
  <foxml:datastream CONTROL_GROUP="X" ID="METHODMAP" STATE="A" VERSIONABLE="true">
    <foxml:datastreamVersion CREATED="2007-04-29T09:05:08.241Z"
      FORMAT_URI="info:fedora/fedora-system:format/xml.mets.techMD.OTHER.UNSPECIFIED" ID="METHODMAP1.0"
      LABEL="Mapping of WSDL to Fedora notion of Method Definitions" MIMETYPE="text/xml" SIZE="2036">
      <foxml:contentDigest DIGEST="none" TYPE="DISABLED"/>
      <foxml:xmlContent>
        <fmm:MethodMap bDefPID="internal:20000" name="MethodMap - image processing BMECH 01" xmlns:fmm="http://fedora.comm.nsdlib.org/service/methodmap">
          <fmm:Method operationLabel="image converting service" operationName="convert" wsdlMsgName="convertRequest" wsdlMsgOutput="dissemResponse">
            <fmm:UserInputParm defaultValue="" label="" parmName="convertTo" passBy="VALUE" required="true"/>
            <fmm:DatastreamInputParm defaultValue="" label="" parmName="url" passBy="URL_REF" required="true"/>
            <fmm:MethodReturnType wsdlMsgName="dissemResponse" wsdlMsgTOMIME="image/jpeg image/gif image/png image/tiff"/>
          </fmm:Method>
          <fmm:Method operationLabel="image watermarking service" operationName="watermark"
            wsdlMsgName="watermarkRequest" wsdlMsgOutput="dissemResponse">
            <fmm:UserInputParm defaultValue="" label="" parmName="wmText" passBy="VALUE" required="true"/>
            <fmm:DatastreamInputParm defaultValue="" label="" parmName="url" passBy="URL_REF" required="true"/>
            <fmm:MethodReturnType wsdlMsgName="dissemResponse" wsdlMsgTOMIME="image/jpeg"/>
          </fmm:Method>
          <fmm:Method operationLabel="image resizing service" operationName="resize" wsdlMsgName="resizeRequest" wsdlMsgOutput="dissemResponse">
            <fmm:UserInputParm defaultValue="" label="" parmName="newWidth" passBy="VALUE" required="true"/>
            <fmm:DatastreamInputParm defaultValue="" label="" parmName="url" passBy="URL_REF" required="true"/>
            <fmm:MethodReturnType wsdlMsgName="dissemResponse" wsdlMsgTOMIME="image/jpeg"/>
          </fmm:Method>
        </fmm:MethodMap>
      </foxml:xmlContent>
    </foxml:datastreamVersion>
  </foxml:datastream>
  <foxml:disseminator BDEF_CONTRACT_PID="fedora-system:1" ID="DISS1" STATE="A" VERSIONABLE="true">
    <foxml:disseminatorVersion BMECH_SERVICE_PID="fedora-system:2" CREATED="2007-04-29T09:05:08.241Z" ID="DISS1.0" LABEL="Bootstrap Behaviors for a behavior object">
      <foxml:serviceInputMap>
        <foxml:datastreamBinding DATASTREAM_ID="SERVICE-PROFILE" KEY="SERVICE-PROFILE" LABEL="XML data that describes the technical nature of the service"/>
        <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"/>
        <foxml:datastreamBinding DATASTREAM_ID="METHODMAP" KEY="FEDORA-TO-WSDL-METHODMAP" LABEL="XML data that enables Fedora to understand how to use the service WSDL"/>
        <foxml:datastreamBinding DATASTREAM_ID="WSDL" KEY="WSDL" LABEL="Service definition in WSDL format."/>
        <foxml:datastreamBinding DATASTREAM_ID="DS1" KEY="SERVICEDOC" LABEL="Documentation for the behavior object"/>
      </foxml:serviceInputMap>
    </foxml:disseminatorVersion>
  </foxml:disseminator>
</foxml:digitalObject>

This site conforms to the following standards: