Topic by Alex Onslow
Content
This should be a fairly simple one, but I'm having issue with QueryObjects when trying to return a list of custom objects. I'm 90% sure it's a problem with the object template I'm giving to QueryObjects, but I don't know what I'm doing wrong.
Code below:
QueryObjects (last line) gives me the error:
ProtocolException was unhandled
The content type text/html; charset=UTF-8 of the response message does not match the content type of the binding (multipart/related; type="application/xop+xml"). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly.