You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Alex (JIRA)" <ji...@apache.org> on 2015/04/07 13:38:12 UTC

[jira] [Created] (OLINGO-621) How to override type and src in for Entity

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)