Hi, Laura --

Fedora repository methods are divided into two groups:  API-A methods, 
which are read-only, and API-M methods, which are read-write.

You can find documentation on both RESTful and SOAP APIs at 
https://wiki.duraspace.org/display/FCR30/Web+Service+Interfaces .  To 
ingest an object via SOAP, you'll use the API-M method "ingest":

https://wiki.duraspace.org/display/FCR30/API-M#API-M-ingest

The sample soap client only implements api-a functions, I believe; 
you'll need to use a different SOAP client to perform API-M functions.

You can execute SPARQL queries via HTTP URLs;  this page shows how: 
https://wiki.duraspace.org/display/FCR30/Resource+Index+Search .  See 
the documentation for "Application Interface".


If all you want to do is create some test objects, take a look at the 
admin interface:

http://localhost:8080/fedora/admin#

or, alternatively, use the command line utility fedora-ingest:

https://wiki.duraspace.org/display/FCR30/Client+Command-line+Utilities#ClientCommand-lineUtilities-ingest

-- Scott

Laura delli Paoli wrote:
> Scott Prater <prater@...> writes:
> 
>> Hi, Laura --
>>
>>> I'll give a look at Fedora's SOAP API since I didnt' find any REST 
>>> function to add new objects.
>>>  
>> There is a REST function to add new objects:
>>
>> https://wiki.duraspace.org/display/FCR30/REST+API#RESTAPI-ingest
>>
> 
> Thanks a lot, Scott, I was not sure that this function works fine!
> Now I'm focusing on SOAP interaction, because it seems the only
>  way to execute SPARQL query without using the web interface at 
> http://localhost:8080/fedora/risearch
> !
> I read at 
> 
> https://wiki.duraspace.org/display/FCR30/Example+SOAP+Client
> 
> that I can interrogate fedora repository through SOAP in this way:
> http://localhost:8080/soapclient/apia?action_=DescribeRepository
> but all the examples show how to get infoemations from Fedora.
> 
> Is this method valid for adding objects to fedora too, i.e 
> http://localhost:8080/soapclient/apia?action_=ingest
> ? 
> Where can I find the currect syntax? Are there any examples?
> thanks
> Laura
> 
> 
> 
> ------------------------------------------------------------------------------
> What You Don't Know About Data Connectivity CAN Hurt You
> This paper provides an overview of data connectivity, details
> its effect on application quality, and explores various alternative
> solutions. http://p.sf.net/sfu/progress-d2d
> _______________________________________________
> Fedora-commons-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers


-- 
Scott Prater
Library, Instructional, and Research Applications (LIRA)
Division of Information Technology (DoIT)
University of Wisconsin - Madison
[email protected]

------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Fedora-commons-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers

Reply via email to