Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

As shown in the diagram above, the data objects no longer include an XSL datastream. Instead, the XSL datastream is located in demo:cmodel and the DSINPUTSPEC datastream of demo:sdep references demo:cmodel.sDep DSInputSpec

Code Block

...


<fbs:DSInput DSMax="1"DSMin="1"DSOrdinality="false"

...


             wsdlMsgPartName="XSL"pid="demo:cmodel">

...


  <fbs:DSInputLabel>XSL</fbs:DSInputLabel>

...


  <fbs:DSMIME>application/xml</fbs:DSMIME>

...


  <fbs:DSInputInstruction>DC to MODS XSLT</fbs:DSInputInstruction>

...


</fbs:DSInput>

sDep MethodMap

Code Block
<fmm:MethodMap name="MethodMap - Document Transform SDEF Methods"
               xmlns:fmm="http://fedora.comm.nsdlib.org/service/methodmap">
  <fmm:Method operationName="transform"
              wsdlMsgName="transformRequest"
              wsdlMsgOutput="transformResponse">
    <fmm:DatastreamInputParm parmName="DC" passBy="URL_REF" required="true"/>
    <fmm:DatastreamInputParm parmName="XSL" passBy="URL_REF" required="true"/>
    <fmm:DefaultInputParm parmName="CLEAR_CACHE" passBy="VALUE" required="true"
                          defaultValue="yes" />
    <fmm:MethodReturnType wsdlMsgName="transformResponse"
                          wsdlMsgTOMIME="text/xml"/>
  </fmm:Method>
</fmm:MethodMap>