cancel
Showing results for 
Search instead for 
Did you mean: 

Push Notification not reaching SMP3

Former Member
0 Kudos

Hi,


I assigned Notification security profile to com.test.isyx appid and specify user/password smpPushUser/s3pAdmin with Notification User role and tried from REST client and now its giving below error:

In SMP logs, below are the relevant messages:

2015 06 01 05:01:29#0-700#WARN#com.sap.mobile.platform.server.dispatcher.servlet.FilterChain##anonymous#http-bio-8083-exec-1###:=:deleteUrlPatternMappings: filter applicationSettingsfilter unmapped from non-mapped url patterns [/public/odata/applications/latest/com.test.isyx, /public/odata/applications/v1/com.test.isyx, /public/odata/applications/v1/com.test.isyx/**, /public/odata/applications/latest/com.test.isyx/**] |

2015 06 01 05:01:29#0-700#WARN#com.sap.mobile.platform.server.dispatcher.servlet.FilterChain##anonymous#http-bio-8083-exec-1###:=:deleteUrlPatternMappings: filter appOdataFilter unmapped from non-mapped url patterns [/public/odata/applications/latest/com.test.isyx, /public/odata/applications/v1/com.test.isyx, /public/odata/applications/v1/com.test.isyx/**, /public/odata/applications/latest/com.test.isyx/**] |

2015 06 01 05:01:29#0-700#WARN#com.sap.mobile.platform.server.dispatcher.servlet.ServiceMapperImpl##anonymous#http-bio-8083-exec-1###:=:deleteMapping: unmapped urlPattern /public/bundles/com.test.isyx |

2015 06 01 05:01:29#0-700#WARN#com.sap.mobile.platform.server.dispatcher.servlet.ServiceMapperImpl##anonymous#http-bio-8083-exec-1###:=:deleteMapping: unmapped urlPattern /public/bundles/com.test.isyx/** |

2015 06 01 05:01:29#0-700#WARN#com.sap.mobile.platform.server.dispatcher.servlet.FilterChain##anonymous#http-bio-8083-exec-1###:=:deleteUrlPatternMappings: filter perfLogsfilter unmapped from non-mapped url patterns [/public/bundles/com.test.isyx, /public/bundles/com.test.isyx/**] |

2015 06 01 05:01:29#0-700#WARN#com.sap.mobile.platform.server.dispatcher.servlet.FilterChain##anonymous#http-bio-8083-exec-1###:=:deleteUrlPatternMappings: filter correlatedLogsfilter unmapped from non-mapped url patterns [/public/bundles/com.test.isyx, /public/bundles/com.test.isyx/**] |

2015 06 01 05:01:29#0-700#WARN#com.sap.mobile.platform.server.dispatcher.servlet.FilterChain##anonymous#http-bio-8083-exec-1###:=:deleteUrlPatternMappings: filter corsfilter unmapped from non-mapped url patterns [/public/bundles/com.test.isyx, /public/bundles/com.test.isyx/**] |

2015 06 01 05:01:29#0-700#WARN#com.sap.mobile.platform.server.dispatcher.servlet.FilterChain##anonymous#http-bio-8083-exec-1###:=:deleteUrlPatternMappings: filter applicationResourceBundlefilter unmapped from non-mapped url patterns [/public/bundles/com.test.isyx, /public/bundles/com.test.isyx/**] |

2015 06 01 05:01:29#0-700#WARN#com.sap.mobile.platform.server.dispatcher.servlet.FilterChain##anonymous#http-bio-8083-exec-1###:=:deleteUrlPatternMappings: filter appOdataFilter unmapped from non-mapped url patterns [/public/bundles/com.test.isyx, /public/bundles/com.test.isyx/**] |

  2015 06 01 05:03:11#0-700#ERROR#com.sap.mobile.platform.server.notifications.handler.LoggingPushNotificationDelegate##anonymous#http-bio-8080-exec-4####79dc2795-aa13-43e7-8f89-5e84e27d1451#null#null#error#Push#smpPushUser#null#11717282-5c82-4818-93eb-70eac9a014b3#null#1433185391526#null#com.sap.mobile.platform.server.notifications.handler.LoggingPushNotificationDelegate


Please see the attached screenshot:

RestClientPushSend: Showing the request sent to SMP3

DeviceRegistration: Showing the reg-id used in sending PUSH request to SMP3

Regards,

Affaan



Accepted Solutions (1)

Accepted Solutions (1)

PavelPenaz
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Affan,

Please try to change the POST URL in rest client to: http://hostname:8080/restnotification/application/app.id

Where app.id is you application ID. And change the payload to include json in the body, including specifying the content-type atribute.

Just as a test. As per the attached screenshot, from rest client, it works for me.

The same example is described in the official documentation for SP07, here: Push API Notification Scenarios - REST API Application Development (On-premise and Cloud) - SAP Libr...

Please let us know.

Thanks,

Pavel Penaz

Answers (0)