cancel
Showing results for 
Search instead for 
Did you mean: 

Sunscription post failing

Former Member
0 Kudos

Hi All,

I am trying to implement Gateway Subscriptions, and I am following the following blog

while posting I am not successful, please find the attached screen shot.

<feed xmlns="http://www.w3.org/2005/Atom" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xml:base="http://abcd:8000/sap/opu/odata/sap/MYSUBSCRIPTIONS/">

<id>http://abcd:8000/sap/opu/odata/sap/MYSUBSCRIPTIONS/SubscriptionCollection</id>

<title type="text">Testing</title>

<updated>2014-11-10T17:34:34Z</updated>

<author>

  <name/>Rajesh</name>

</author>

<content type="application/xml">

<properties>

<ID>1</ID>

<collection>UserCollection</collection>

</properties>

</content>

<link href="SubscriptionCollection" rel="self" title="SubscriptionCollection"/>

</feed>

Thanks in advance

Rajesh

Accepted Solutions (1)

Accepted Solutions (1)

kammaje_cis
Active Contributor
0 Kudos

Rajesh,

Problem is with your request body.

The request body should be that of an "Entry", not "Feed".

Former Member
0 Kudos

Hi Kishore,

You are right, it should be "Entry", Thanks

Answers (0)