I'm new to the Livelink API and generally it seems straight-foward. In my .Net 3.5 application (C#) I've created service clients for the 9.7.1 services (Authentication, Document Management, etc.) and have been consuming the results in a small test application I've made (since the LLTreeView sample app is out-of-date).
My issue is that when I use the Document Management service's [CreateDocument] method it returns a FaultException stating ' Error adding version to {0}', where {0} is the filename of the document I'm requesting to be created/uploaded.
I understand this question has been asked several times before but it doesn't appear that anyone has ever posted a resolution to this item?
Alternatively I tried using the DocumentManagement service in tandem with the Content service to first create the document context (the [CreateDocumentContext] method) and then upload the content (the [UploadContent method]) -- This also was not successful. In this case I was greeted with a internal server exception of the following:
[WebException: The remote server returned an error: (500) Internal Server Error.]
System.Net.HttpWebRequest.GetResponse() +5314029
System.ServiceModel.Channels.HttpChannelRequest.WaitForReply(TimeSpan timeout) +54
[ProtocolException: The content type multipart/related; type="application/xop+xml";start="< http://tempuri.org/0>";boundary="uuid:b97d0087-f5ae-4cfc-afae-350e159e1a4d+id=6";start-info="text/xml " of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 609 bytes of the response were: '
--uuid:b97d0087-f5ae-4cfc-afae-350e159e1a4d+id=6
Content-ID: < http://tempuri.org/0 >
Content-Transfer-Encoding: 8bit
Content-Type: application/xop+xml;charset=utf-8;type="text/xml"
If neither of these methods work is not being to save binary content through the services indicative or a configuration problem with the server? Are there any suggestions that the, expert users or otherwise, can provide to help me resolve the issue? Any assistance would be appreciated.