3.1.4.39 MetadataClone

The MetadataClone operation creates a copy of a metadata item that is linked to the original via the shared GUID. This operation is similar to MetadataCreate except as specified here.

The MetadataClone operation requires both the GUID and the name of new items in the request. The GUID is inserted rather than generated. If the request contains a GUID that matches an existing object in the hub of the same type, that object is updated.

The identifiers of each new item MUST include the GUID and the name. The name MUST be unique within the specified context.

The following is the WSDL definition of the MetadataClone operation.

Applies to MDS 2008R2

     <wsdl:operation name="MetadataClone">
       <wsdl:input wsaw:Action="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/MetadataClone" name="MetadataCloneRequest" message="tns:MetadataCloneRequest" />
       <wsdl:output wsaw:Action="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/MetadataCloneResponse" name="MetadataCloneResponse" message="tns:MetadataCloneResponse" />
    </wsdl:operation>

Applies to MDS 2012

     <wsdl:operation name="MetadataClone">
       <wsdl:input wsaw:Action="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/MetadataClone" name="MetadataCloneRequest" message="tns:MetadataCloneRequest"/>
       <wsdl:output wsaw:Action="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/MetadataCloneResponse" name="MetadataCloneResponse" message="tns:MetadataCloneResponse"/>
       <wsdl:fault wsaw:Action="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/MetadataCloneSkuNotSupportedMessageFault" name="SkuNotSupportedMessageFault" message="tns:IService_MetadataClone_SkuNotSupportedMessageFault_FaultMessage"/>
       <wsdl:fault wsaw:Action="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/MetadataCloneEditionExpiredMessageFault" name="EditionExpiredMessageFault" message="tns:IService_MetadataClone_EditionExpiredMessageFault_FaultMessage"/>
    </wsdl:operation>