Hello, everyone,

I am in the middle of building a content model, along with an SDep/SDef
implementation, and was wondering what the syntax was for using
"Optional Parameters" when calling operations.  The documentation
suggests that the operations can be called using the following form:

Repository : Get : Data object PID : SDef PID : Operation Name :
Optional Parameters

I have tried a few variations of this using the demo objects supplied
with the client.  I have learned that the first Optional Parameter
appears to be the timestamp, with errors like the following:

The expected syntax for Dissemination requests is:
"http://localhost:8080/fedora/get/PID/sDefPID/methodName[/dateTime][?ParmArray]";

So, my question is how does one format the ParamArray and then use it
within the WSDL As a parameter Is it just defined with a separate
wsdl:part element and a type that allows an empty value (since it is
optional)?

ie:

<wsdl:part name="OPTIONAL_ARG" type="this:OPTIONAL_ARGType"/>

Also, is there a /dateTime value that can be specified that will always
get the most recent version of the operation?  It appears that the
dateTime is a mandatory part of the URL if you want to also add a
Parameter Array.

What I am trying to accomplish here is to create a generalized
transformation service that can have a stylesheet URL passed in as an
optional paramter, right in the call to the operation, via the URL.  I
think this would let me create a very flexible content model without
needing to define operations for each type of output format.

Cheers,

Jason

-- 
Jason Nugent
Systems Programmer/Database Developer
Electronic Text Centre
University of New Brunswick
[email protected]
(506) 447 3177

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to