SOAP API

This section describes the SOAP API provided by IBM® WebSphere® Service Registry and Repository.

Temporary bsrURI values

When creating new objects, a temporary bsrURI value can be assigned to an object, and one must be assigned to an object if it is necessary to refer to that object.

If the root object of the data graph is a new object then it must have a temporary bsrURI value assigned and that value must be specified as the value of the root element of the WSRR instance.

Because the type of the bsrURI attribute is the XML Schema ID type, the values must be compatible with the NCName type, which means that a bsrURI must begin with a Letter or with the underscore '_' character. Because typical bsrURI values begin with a Letter, a temporary bsrURI value must begin with a '_' character.

Document content

When working with documents, the content of the document is represented as the value of an attribute named content. This attribute is encoded by using base64 encoding.

Error handling

All the operations return a ServiceRegistryWebServiceException fault. The fault contains the message from the exception thrown by the WSRR server.

The SOAP API is described in the following subtopics: