System.Object
ContentData
Client Declaration
public class ContentData
Represents the content data associated with a content-carrying Content Engine
object via the Content
pseudo-property of a Content Engine ContentTransfer
object. The Content
pseudo-property is not a real Content Engine property; rather it is a Content Engine Web Service construct for allowing content data to be retrieved and uploaded.
When the Content
pseudo-property is returned, it is sent as an attachment following the main body of the response. Any errors that occur while the content data is being read from the repository are detected in the server. However, once the attachment has begun to be transmitted, the HTTP protocol does not provide a way to reliably signal if an error has occurred on the sending end. The result is that a client can potentially falsely interpret that it has received all of the content data when only the beginning of the content has actually been transmitted. To prevent this situation from occurring, clients should either:
Content
pseudo-property matches the value of the totalSize
attribute of the ContentElementResponse
element.GetContent
operation instead of the Content
pseudo-property to retrieve content data.
Elements
ContentType
Value
:
[request][response] Required element specifying the content data of a content-carrying object. Depending on the manner of content transfer, Value
resolves to one of the following concrete subtypes:
InlineContent
DIMEContent
(Deprecated) MIMEContent
(Not used; MIME attachments are not compatible with any of the supported Content Engine Web Service clients.)
Attributes
String
propertyId
:
Boolean
settable
: [response] Optional expression specifying whether
the specified Content Engine property is settable by the user (true
) or not (false
). If true
, this attribute's value is "1"; otherwise, this attribute is omitted in the response. Attributes Specific to .NET Clients
Boolean
settableSpecified
: Optional expression specifying whether settable
has a value (true
) or not (false
).
<xsd:complexType name="ContentData"> <xsd:complexContent> <xsd:extension base="ModifiablePropertyType"> <xsd:sequence> <xsd:element name="Value" type="ContentType"/> </xsd:sequence> </xsd:extension> </xsd:complexContent> </xsd:complexType>