Name

uddi_save_tModel — Adds or updates one or more tModel structures.

Syntax

<uddi_save_tModel
  generic="1.0"
  xmlns="urn:uddi-org:api" >
        <authInfo/>
        <tModel/> [<tModel/>...] | <uploadRegister/> [<uploadRegister/>...]
</uddi_save_tModel>

Attributes & Children

authInfo

This required argument is an element that contains an authentication token obtained using the get_authToken call.

tModel

One or more complete tModel structures can be passed. If adding a new tModel , the tModelKey value should be passed as an empty element.

uploadRegister

One or more resolvable HTTP URL addresses that each point to a single and valid tModel structure. This variant argument allows a registry to be updated to reflect the contents of an XML document that is URL-addressable. The URL must return a pure XML document that only contains a tModel structure as its top-level element, and must be accessible using the standard HTTP-GET protocol.

Return Types

This message returns a tModelDetail message containing the new registered information for the effected tModel structures.

Errors

If an error occurs in processing this message, a dispositionReport structure will be returned to the caller in a SOAP Fault. The following error information will be relevant:

Table24.105.Errors signalled by uddi_save_tModel

Error Code Description
E_invalidKeyPassed signifies that the request cannot be satisfied because one or more uuid_key values specified is not a valid key value. This will occur if a uuid_key value is passed in a tModel that does not match with any known tModel key.
E_authTokenExpired signifies that the authentication token value passed in the authInfo argument is no longer valid because the token has expired.
E_authTokenRequired signifies that the authentication token value passed in the authInfo argument is either missing or is not valid.
E_userMismatch signifies that one or more of the uuid_key values passed refers to data not controlled by the entity represented by the authentication token.
E_operatorMismatch signifies that one or more of the uuid_key values passed refers to data not controlled by the server that received the request for processing.
E_keyRetired signifies that the request cannot be satisfied because one or more uuid_key values specified has previously been hidden or removed by the requester. This specifically applies to the tModelKey values passed.
E_invalidURLPassed an error occurred with one of the uploadRegister URL values.
E_accountLimitExceeded signifies that user account limits have been exceeded.