I think I have to write an howto into the wiki since you are the second person
quite lost with the dsLocation value.
The dsLocation value is returned by the Upload servlet provided by Fedora
which is doing some file registration at Fedora server level (I may also
write some stuff about this interesting part of Fedora...)
So first call Upload and then create your DataStream. Last year, during the
european Fedora's meeting, we talked about using SOAP attachment to avoid
Upload call... but afaik that's not present in the 2.1.1 version (may someone
from dev staff can bring us more info about that ?)
If you are skilled in servlet and web services development you could also
write a new web service (see Fedora Repository Service) which uses SOAP
attachments and does the job for you. I did and that run quite well (Is there
someone who did that too in order to share some hints ? )
Hope this can help you enjoying Fedora as I am ;-)
Le dimanche 1 octobre 2006 23:53, Matt Zumwalt a écrit :
If I use API-M to modify (or create) an Inline XML Datastream, do I
have to save the new XML to a temporary file and then pass a URL
reference to that file as the value of the "dslocation" parameter?
It seems like I should be able to pass the new XML directly as part
of the SOAP call, thus bypassing the creation of a temp file, but the
method's documentation doesn't have any hints about how to do that.
37 rue de Engwiller
67350 La Walck - France
t.+220.127.116.11.27.48 - m.+18.104.22.168.76.51