UDDI API - delete_service



Description

The delete_service API call is used to remove one or more previously businessService elements from the UDDI registry and from its containing businessEntity parent.

Upon successful completion, a dispositionReport is returned with a single success indicator. If a business service being deleted is the target of a business service projection associated with another businessEntity, that reference relationship will be automatically eliminated as a result of this call. All contained bindingTemplate data will also be removed from the registry as a result of this call. Any references to bindingTemplates so removed will not be affected.

Version 2.0 Syntax

<delete_service generic = "2.0" 
   xmlns = "urn:uddi-org:api_v2" >
   <authInfo/>
   <serviceKey/>
   [<serviceKey/> .]
</delete_service>

Arguments

authInfo − This required argument is an element that contains an authentication token. Authentication tokens are obtained using the get_authToken API call.

serviceKey − One or more uuid_key values that represent specific instances of known businessService data.

Error Returned

If any error occurs in processing this API call, a dispositionReport element will be returned to the caller within a SOAP Fault. The following error number information will be relevant −

E_invalidKeyPassed − It signifies that one of the uuid_key values passed did not match with any known serviceKey values. No partial results will be returned. If any serviceKey values passed are not valid or if the message contained multiple instances of a uuid_key value, this error will be returned. The key causing the error will be clearly indicated in the error text.

E_authTokenExpired − It signifies that the authentication token value passed in the authInfo argument is no longer valid because the token has expired.

E_authTokenRequired − It signifies that the authentication token value passed in the authInfo argument is either missing or is not valid.

E_userMismatch − It signifies that one or more of the uuid_key values passed refers to data that is not controlled by the individual who is represented by the authentication token. The key causing the error will be clearly indicated in the error text.

uddi_api_references.htm
Advertisements