cancel
Showing results for 
Search instead for 
Did you mean: 

Agentry - Push Tutorial

Former Member
0 Kudos

Can anyone point me to a simple tutorial that creates a push in Agentry end to end?  I believe I have everything I need set up but I'm not sure exactly how to interact with the push functionality.  I've tried using a REST client to POST to http://localhost:8282 but I'm not seeing anything in the logs.  Any help would be greatly appreciated.

Tags edited by: Michael Appleby

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hello,

I am also interested in this topic, because we want to look into a Push scenario using a SAP (ABAP) backend. I have found some documents explaining parts of the scenario but an end-to-end How To Guide would be great - is something like this available?

Best regards

Christian

Former Member
0 Kudos

The push for SAP Applications is different then the normal push.

High Level,

1) The SAP Server sents an HTTP message to the Agentry\SMP Server

2) The Agentry Application has an HTTP Service Events that gets called when the HTTP message is received.

3) This HTTPS Service Service events call and Agentry Push

4) The Push goes into the SAP Server and gets all information for the order and then sends it to the client.

Former Member
0 Kudos

Agentry doesn't use the same push as SMP server.  Agentry will push to the Agentry Client if it is actively connected to the server using the active network connection (port 8081).   If you are pushing to an Android or iOS client that is not active, then the Agentry Server will call out to the OS notification system and send the message with get pushed to the client when it because active.

Are you using push over a test application or a pre-built application?

Stephen

Former Member
0 Kudos

It's an application that I developed myself using the Agentry platform.  I'm still confused as to how to interact with the push functionality of Agentry.  I have an Oracle stored procedure that needs to push to my Agentry app when rows are added to a certain table.  Do I need the IP address of the device I'm pushing to or is there a standard URL for pushing to Agentry apps?  Could you post some sample code or even pseudo code of how to send a push to an Agentry app?

Former Member
0 Kudos

In the Transmit Configurations section of the editor you need to check "Stay Connect to Server" and then enable the "Push" section.

Then in the Module you need to call create a push you will need to add the scripts that will call into the backend that will pull the data.

I will recommend that you look at going to the MOB300 Agentry Course that talks about basic Agentry application which includes push.

Stephen