ContentServiceClient - DownloadContent web method response error.
Hello,
I'm currently able to successfully Authenticate and get the content context but when calling the ContentServiceClient's DownloadContent web method the following error message is being thrown when executing the following line of code:
DownloadContentResponse downloadResponse = new DownloadContentResponse();
downloadResponse = await contentServiceClient.DownloadContentAsync(downloadRequest);
Error Message:
System.ServiceModel.ProtocolException: The content type multipart/related; type=\"application/xop+xml\"; start=\"<http://tempuri.org/0>\"; boundary=\"uuid:e5a287b1-6611-4a22-a826-751159aedfa8+id=2\"; 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.
Can anyone please provide guidance on why the error is being thrown?
Thanks.
Comments
-
What is your experience if you ran the OOB Canned OT Examples ?
Also, I always pay attention to Kyle Swidrowich's first post here. Many of us have moved to REST API's so if you can rule out OT code then it would make your job easier.
0
Categories
- All Categories
- 111 Developer Announcements
- 49 Articles
- 102 General Questions
- 123 Services
- 40 OpenText Hackathon
- 33 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 901 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 127 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 1 XM Fax