Hi Egbert,

In Fedora these are called User Input Parameters to distinguish them
from datastream input.  To use them, you need to make sure they're
declared in the METHODMAP of your SDef (Service Definition) object.
Your associated SDep (Service Deployment) object should also have
these parameters specified in it's METHODMAP and WSDL.

For example, see the METHODMAP datastream of this object:

http://fedora-commons.svn.sourceforge.net/viewvc/fedora-commons/fedora/trunk/src/demo-objects/foxml/local-server-demos/image-manip-demo/sdef_demo_27.xml?revision=7781&view=markup

...and the METHODMAP and WSDL datastreams of this object:

http://fedora-commons.svn.sourceforge.net/viewvc/fedora-commons/fedora/trunk/src/demo-objects/foxml/local-server-demos/image-manip-demo/sdep_demo_28.xml?view=markup

Since the parameters were declared as "UserInputParm"s in the
METHODMAPs, Fedora knows to pass the user-provided value through to
the backend service when it's invoked at dissemination time.

- Chris

On Wed, Feb 4, 2009 at 7:00 AM, Gramsbergen, Egbert
<[email protected]> wrote:
> Hi all,
>
>
>
> Here is my problem:
>
> I want to use parameters in url's like
>
> http://some-site/fedora/get/some-object/some-sdef/some-method?par=value
>
> to invoke services, through the CMA machinery, like
>
> SaxonServlet?source=...&style=...&...&par=value
>
>
>
> This means fiddling with WSDL (and maybe DSINPUTSPEC?) datastreams in the
> Service Deployment involved.
>
> In the WSDL, I will probably need something like
>
> <http:operation
> location="SaxonServlet?source=(DATA)&amp;style=…&amp;par=(PAR)"/>
>
> But how do I tell that PAR is to be filled with the value of the original
> request parameter par?
>
> Are there any WSDL wizard around in this group?
>
>
>
> Thanks,
>
>
>
> Egbert Gramsbergen
>
> ________________________________
>
> Egbert F. Gramsbergen
> TU Delft (Library) - Digital Product Development
>
> [email protected]    +31(0) 15 27 82922
>
> ________________________________
>
>
>
> ------------------------------------------------------------------------------
> Create and Deploy Rich Internet Apps outside the browser with
> Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code
> to
> build responsive, highly engaging applications that combine the power of
> local
> resources and data with the reach of the web. Download the Adobe AIR SDK and
> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
> _______________________________________________
> Fedora-commons-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>
>

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to