Alex created OLINGO-621:
---------------------------

             Summary: How to override type and src in <content> for Entity
                 Key: OLINGO-621
                 URL: https://issues.apache.org/jira/browse/OLINGO-621
             Project: Olingo
          Issue Type: Question
          Components: odata2-core
    Affects Versions: V2 2.0.3
            Reporter: Alex


We have to override the default content-type (which is octet-stream) to 
"application/zip" and reference src to another URL

http://localhost/api/bundle(1)

<entry xml:base="http://localhost/bundle";>
   <id>.....

<content type="application/octet-stream" src="Bundles(1)/$value"/>
<m:properties>
<d:Version>1.0.0.0</d:Version>
...
<m:properties>

how to get access to <content> node and set it to something like this
<content type="application/zip" src="http://storage/bundles/1"/>

Thanks in advance



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to