3.1.4.4 Create

The protocol client uses the Create operation to create a new configuration object.

The protocol client sends the message AddRequestMessage (section 2.2.2.1) to request the server to create one new configuration object. If the server accepts the request, then the server MUST send message AddResponseMessage (section 2.2.2.2) in response.

If the server accepts the request then the server MUST create the configuration object.

If the client does not have permission to create the configuration object, then the server MUST respond with a PermissionDeniedFault (section 2.2.2.11) SOAP fault.

If the client provides a malformed message AddRequestMessage that does not satisfy the definition in section 2.2.2.1, then the server MUST respond with an InvalidRepresentation (section 2.2.2.21) SOAP fault.

If the client requests to provide values for any of the following identity attributes, then the server MUST respond with an InvalidRepresentation SOAP fault:

  • ObjectId

  • Creator

  • CreatedTime

  • ResourceTime

  • DeletedTime

     
    
     <wsdl:operation name="Create">
           <soap12:operation soapAction="http://schemas.xmlsoap.org/ws/2004/09/transfer/Create" style="document" />
           <wsdl:input message="da:AddRequestMessage" wsa:Action="http://schemas.xmlsoap.org/ws/2004/09/transfer/Create">
             <soap12:body use="literal" />
             <soap12:header message="da:AddRequestMessage" part="operationheader" use="literal"/>
           </wsdl:input>
           <wsdl:output message="da:AddResponseMessage" wsa:Action="http://schemas.xmlsoap.org/ws/2004/09/transfer/CreateResponse">
             <soap12:body use="literal" />
           </wsdl:output>
           <wsdl:fault name="InvalidRepresentation ">
             <soap12:fault use="literal" name="InvalidRepresentation" namespace="http://schemas.xmlsoap.org/ws/2004/09/transfer" />
           </wsdl:fault>
           <wsdl:fault name="PermissionDeniedFault">
             <soap12:fault use="literal" name="PermissionDeniedFault" namespace="http://schemas.microsoft.com/2006/11/ResourceManagement" />
           </wsdl:fault>
         </wsdl:operation>