3.1.4.6.2.1 SubmitFile

The SubmitFile element specifies the input data for the SubmitFile WSDL operation.

 <xs:element name="SubmitFile" xmlns:xs="http://www.w3.org/2001/XMLSchema">
   <xs:complexType>
     <xs:sequence>
       <xs:element minOccurs="0" maxOccurs="1" name="fileToSubmit" type="xs:base64Binary"/>
       <xs:element minOccurs="0" maxOccurs="1" name="properties" type="tns:ArrayOfRecordsRepositoryProperty"/>
       <xs:element minOccurs="0" maxOccurs="1" name="recordRouting" type="xs:string"/>
       <xs:element minOccurs="0" maxOccurs="1" name="sourceUrl" type="xs:string"/>
       <xs:element minOccurs="0" maxOccurs="1" name="userName" type="xs:string"/>
     </xs:sequence>
   </xs:complexType>
 </xs:element>

fileToSubmit: The contents of the file, which MUST be non-empty and MUST be encoded with base64 encoding.

properties: The properties of the file. MUST not be null.

recordRouting: The file type, which MUST be less than or equal to 128 characters in length. MUST not be null or empty.

sourceUrl: The source URL of the file, which MUST be non-empty and MUST be URL-encoded.

userName: The name of the user submitting the file, which MUST be non-empty and MUST be a login name. The value SHAREPOINT\system (case-insensitive) is reserved and SHOULD NOT<18> be used.