Thanks for the reply
Right, so I have gone back and approached this from a different angle.
I can build the URL to the external viewer using a CMA that extracts the
variables from a datastream using XSL, and then outputs the URL to my
browser as a text string. The next problem is how do I turn that output
string into a functioning URL request? Is this possible within the WSDL
syntax?
As the passBy="value" attribute doesn't work, should it be removed in
future to prevent further confusion?
Thank you
- - - - -
# Richard Higgins
# Durham University Library
# Archives & Special Collections
# Palace Green
# Durham
# DH1 3RN
# E-Mail: r.i.higg...@durham.ac.uk
From: Stephen Bayliss [mailto:stephen.bayl...@acuityunlimited.net]
Sent: 04 January 2012 09:58
To: 'Support and info exchange list for Fedora users.'
Subject: Re: [fcrepo-user] CMA Service deployment problem (Fedora 3.4.1)
Hi Richard
>From memory I don't believe it is possible to pass datastreams by value
(and in fact as the CMA service calls are HTTP GET operations, it
wouldn't be ideal to pass through contents as URL parameters).
You should be able to use XSLT to dereference the URL and extract the
values you need using XSLT/XPath string manipulation functions I think.
Regards
Steve
-----Original Message-----
From: HIGGINS R.I. [mailto:r.i.higg...@durham.ac.uk]
Sent: 31 December 2011 19:27
To: fedora-commons-users@lists.sourceforge.net
Subject: [fcrepo-user] CMA Service deployment problem (Fedora
3.4.1)
Hello:
I was wondering if there should be a difference in the output
result between
<fmm:DatastreamInputParm parmName="MyDatastream"
passBy="URL_REF" required="true"></fmm:DatastreamInputParm>
and
<fmm:DatastreamInputParm parmName="MyDatastream" passBy="VALUE"
required="true"></fmm:DatastreamInputParm>
as both seem to return the URL of MyDatastream, and there seems
no way to retrieve the content of MyDatastream.
There seems to have been occasional comment on this in mailings
over the past few years, but no clear solution.
I have a managed datastream of mimetype text/plain containing a
short string which is the record number for the marc description of the
digital object in our library catalogue. I could do various things with
this record, but only if I can retrieve the value of the datastream.
Any suggestions please?
Thank you
- - - - -
# Richard Higgins
# Durham University Library
# Archives & Special Collections
# Palace Green
# Durham
# DH1 3RN
# E-Mail: r.i.higg...@durham.ac.uk
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users