<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic post in odata: how can I send java object? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/post-in-odata-how-can-i-send-java-object/m-p/12550037#M2006771</link>
    <description>&lt;P&gt;Hello. I'm trying to figure out how to use post in odata so that I can create parking bill in s/4hana on-prem. &lt;/P&gt;
  &lt;P&gt;I fetched x-csrf-token by sending get request, and then tyring to make a post request which use sample xml data in the reqeust body.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2026488-fetch-token.png" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2026489-post-request.png" /&gt;&lt;/P&gt;
  &lt;P&gt;My question is about how can I include xml data in atom format in java application. &lt;/P&gt;
  &lt;P&gt;I tried googling, but I can only find information about converting java object to usual xml. Not much information about how to send request body in atom+xml content type... Any suggestiongs or guidelines will be helpful. Thanks.&lt;/P&gt;</description>
    <pubDate>Fri, 25 Feb 2022 04:09:43 GMT</pubDate>
    <dc:creator>kimkeunho</dc:creator>
    <dc:date>2022-02-25T04:09:43Z</dc:date>
    <item>
      <title>post in odata: how can I send java object?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/post-in-odata-how-can-i-send-java-object/m-p/12550037#M2006771</link>
      <description>&lt;P&gt;Hello. I'm trying to figure out how to use post in odata so that I can create parking bill in s/4hana on-prem. &lt;/P&gt;
  &lt;P&gt;I fetched x-csrf-token by sending get request, and then tyring to make a post request which use sample xml data in the reqeust body.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2026488-fetch-token.png" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2026489-post-request.png" /&gt;&lt;/P&gt;
  &lt;P&gt;My question is about how can I include xml data in atom format in java application. &lt;/P&gt;
  &lt;P&gt;I tried googling, but I can only find information about converting java object to usual xml. Not much information about how to send request body in atom+xml content type... Any suggestiongs or guidelines will be helpful. Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 04:09:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/post-in-odata-how-can-i-send-java-object/m-p/12550037#M2006771</guid>
      <dc:creator>kimkeunho</dc:creator>
      <dc:date>2022-02-25T04:09:43Z</dc:date>
    </item>
  </channel>
</rss>

