Skip to Content
0
Former Member
Feb 15, 2014 at 11:29 AM

Configuring APNS for OData

21 Views

Architecture:-

SAP >> Net weaver Gateway >> OData >> SMP 2.3 SP 2 >> iOS

Scenario:-

We have configured APNS in SCC and enabled Notification in XCode. We are able to register the user and see the "APNS Device Token" in SCC.

We have also successfully subscribed for the required Entity in OData.

(Case: a) We triggered the Push Notification from SAP.

(Case: b) We also tried to invoke the Notification from a Firefox REST Client.

URL: http://<SMP HOST>:<PORT>/GWC/SUPNotification/<Application Connection ID>/<User Name>@<Security Config>/Application ID/Domain

Method Type: POST

Problem:-

We are unable to get Notifications to the device, when we send a Notifications from SAP or the REST Client.

Observation:-

(Case: a) We encounter an error in SAP Net weaver Gateway. Error: "405 - Method not allowed"

(Case: b) We encounter an error in REST Client. Error: "403 - User not in required Role"


Note:-

We found a Known issue in Infocentre, in regards to Configuring APNS for OData (ref. RTC-155). Here they say the work around for this is to use "admin" Security Config, but we are already using the same.


Request anyone to assist me on this issue.


Thanks in advance,

Nirumal Thomas.