source-service
The source service is used to access and store source information about genealogical information. Compared to the person service, this one is much more customized.
Endpoint Metadata
- Namespace: http://enunciate.codehaus.org/samples/full
- WSDL: full.wsdl
- Mount Point: /soap-services/sources/source
The following methods are available on this endpoint:
addEvents
Adds a bunch of events to an infoset.
Input Parameters
| name | description |
|---|---|
| infoSetId | The id of the infoset to which to add the events. |
| assertions | The events that are to be added to the infoset. |
| contributorId | The if of the contributor adding the events to the infoset. |
Return Value
Some message.
Faults
| name | description |
|---|---|
| ServiceException | If the events couldn't be added to the infoset. |
addInfoSet
Adds an infoset to a specified source.
Input Parameters
| name | description |
|---|---|
| sourceId | The id of the source to which to add the infoset. |
| infoSet | The infoset to add to the source. |
Return Value
The id of the infoset that was added.
Faults
| name | description |
|---|---|
| ServiceException | If the infoset couldn't be added to the source. |
addSource
Adds a source to the database. Example of a one-way method.
Input Parameters
| name | description |
|---|---|
| source | The source to add to the database. |
**This method is one-way.
getSource
Reads a source from the database.
Input Parameters
| name | description |
|---|---|
| id | The id of the source to read from the database. |
Return Value
The source.
Faults
| name | description |
|---|---|
| ServiceException | If a source couldn't be read from the database. |
| UnknownSourceException | If no source by that id was found in the database. |