3.1.4.1 CanCreateDwsUrl

This operation determines whether an authenticated user has permission to create a Document Workspace at the specified URL.

The protocol client sends a CanCreateDwsUrlSoapIn request message, and the protocol server responds with the following CanCreateDwsUrlSoapOut response message:

 <wsdl:operation name="CanCreateDwsUrl">
     <wsdl:input message="tns:CanCreateDwsUrlSoapIn" />
     <wsdl:output message="tns:CanCreateDwsUrlSoapOut" />
 </wsdl:operation>

The protocol server MUST respond with an HTTP 401 error if the user is not authorized to create the specified Document Workspace.

The server MUST respond with an Error element, as specified in section 2.2.3.2, with the identifier set to 2 and a restricted string of "Failed" when the length of the root site (2) URL is greater than an implementation-dependent length.<4>