Hi Scott and others,
I am getting an error while trying to upload a file to the folder which resides under my home. Here is the request:
<soapenv:Header>
<urn:fileAtts>
<urn:CreatedDate>20100504</urn:CreatedDate>
<!--Optional:-->
<urn:FileName>dev.xml</urn:FileName>
<urn:FileSize>1588</urn:FileSize>
<urn:ModifiedDate>20100504</urn:ModifiedDate>
</urn:fileAtts>
<urn:contextID> 1533918314</urn:contextID> -- Got it using AddVersionContext..is it correct?
<urn1:OTAuthentication>
<!--Optional:-->
<urn1:AuthenticationToken>L32dPdub3xxCjbpQvfa0lw%2FB%2BqPur0tFIHcw2FruyMI%3D</urn1:AuthenticationToken>
</urn1:OTAuthentication>
</soapenv:Header>
<soapenv:Body>
<urn:UploadContent>
<urn:contents>111111</urn:contents> -- I am using SOAPUI to test. When I attached the file, it had
a field called ContentID which I changed to 111111 and
used because I am not sure what to use here.
</urn:UploadContent>
I got a following exception:
<faultstring>Dispatched service DocumentManagement threw exception DocMan.NodeDoesNotSupportAddingVersions : Node does not support adding versions.</faultstring>
I created a folder for this test and used its node id in AddVersionContext request to get the context id for uploadContent request.
Please let me know what I am doing wrong here.
Thanks,
Kapil