
<fmm:MethodMap xmlns:fmm="http://fedora.comm.nsdlib.org/service/methodmap" name="MethodMap - ImageManipulation BMech for CU ImageManipulation BDEF">
                    <fmm:Method operationName="resizeImage" wsdlMsgName="resizeImageRequest" wsdlMsgOutput="image_response">
                        <fmm:UserInputParm defaultValue="150" parmName="width" passBy="VALUE" required="true"></fmm:UserInputParm>
                        <fmm:DatastreamInputParm parmName="url" passBy="URL_REF"></fmm:DatastreamInputParm>
                        <fmm:MethodReturnType wsdlMsgName="image_response" wsdlMsgTOMIME="image/gif"></fmm:MethodReturnType>
                    </fmm:Method>
                    <fmm:Method operationName="zoomImage" wsdlMsgName="zoomImageRequest" wsdlMsgOutput="image_response">
                        <fmm:UserInputParm defaultValue="3" parmName="zoom" passBy="VALUE" required="true"></fmm:UserInputParm>
                        <fmm:DatastreamInputParm parmName="url" passBy="URL_REF"></fmm:DatastreamInputParm>
                        <fmm:MethodReturnType wsdlMsgName="image_response" wsdlMsgTOMIME="image/gif"></fmm:MethodReturnType>
                    </fmm:Method>
                    <fmm:Method operationName="brightImage" wsdlMsgName="brightImageRequest" wsdlMsgOutput="image_response">
                        <fmm:UserInputParm defaultValue="3.5" parmName="bright" passBy="VALUE" required="true"></fmm:UserInputParm>
                        <fmm:DatastreamInputParm parmName="url" passBy="URL_REF"></fmm:DatastreamInputParm>
                        <fmm:MethodReturnType wsdlMsgName="image_response" wsdlMsgTOMIME="image/gif"></fmm:MethodReturnType>
                    </fmm:Method>
                    <fmm:Method operationName="watermarkImage" wsdlMsgName="watermarkImageRequest" wsdlMsgOutput="image_response">
                        <fmm:UserInputParm defaultValue="Watermarked 2003" parmName="watermark" passBy="VALUE" required="true"></fmm:UserInputParm>
                        <fmm:DatastreamInputParm parmName="url" passBy="URL_REF"></fmm:DatastreamInputParm>
                        <fmm:MethodReturnType wsdlMsgName="image_response" wsdlMsgTOMIME="image/gif"></fmm:MethodReturnType>
                    </fmm:Method>
                    <fmm:Method operationName="grayscaleImage" wsdlMsgName="grayscaleImageRequest" wsdlMsgOutput="image_response">
                        <fmm:DatastreamInputParm parmName="url" passBy="URL_REF"></fmm:DatastreamInputParm>
                        <fmm:MethodReturnType wsdlMsgName="image_response" wsdlMsgTOMIME="image/gif"></fmm:MethodReturnType>
                    </fmm:Method>
                    <fmm:Method operationName="cropImage" wsdlMsgName="cropImageRequest" wsdlMsgOutput="image_response">
                        <fmm:UserInputParm defaultValue="30" parmName="x" passBy="VALUE" required="true"></fmm:UserInputParm>
                        <fmm:UserInputParm defaultValue="100" parmName="y" passBy="VALUE" required="true"></fmm:UserInputParm>
                        <fmm:UserInputParm defaultValue="" parmName="width" passBy="VALUE" required="false"></fmm:UserInputParm>
                        <fmm:UserInputParm defaultValue="" parmName="height" passBy="VALUE" required="false"></fmm:UserInputParm>
                        <fmm:DatastreamInputParm parmName="url" passBy="URL_REF"></fmm:DatastreamInputParm>
                        <fmm:MethodReturnType wsdlMsgName="image_response" wsdlMsgTOMIME="image/gif"></fmm:MethodReturnType>
                    </fmm:Method>
                    <fmm:Method operationName="convertImage" wsdlMsgName="convertImageRequest" wsdlMsgOutput="image_response">
                        <fmm:UserInputParm defaultValue="gif" parmName="convertTo" passBy="VALUE" required="true">
                            <fmm:ValidParmValues>
                                <fmm:ValidParm value="gif"></fmm:ValidParm>
                                <fmm:ValidParm value="jpg"></fmm:ValidParm>
                                <fmm:ValidParm value="tiff"></fmm:ValidParm>  
                              <fmm:ValidParm value="png"></fmm:ValidParm>
                                <fmm:ValidParm value="bmp"></fmm:ValidParm>
                            </fmm:ValidParmValues>
                        </fmm:UserInputParm>
                        <fmm:DatastreamInputParm parmName="url" passBy="URL_REF"></fmm:DatastreamInputParm>
                        <fmm:MethodReturnType wsdlMsgName="image_response" wsdlMsgTOMIME="image/gif"></fmm:MethodReturnType>
                    </fmm:Method>
                </fmm:MethodMap>
