cancel
Showing results for 
Search instead for 
Did you mean: 

SMP 3.0 - rest web services as endpoint in backend

Former Member
0 Kudos

Hi,

I have a native iOS application that read/write data by REST/JSON web services.

If I would like to migrate this app on SMP, what process should I follow ? Is possibile to set REST web services as endpoint in SMP,

in the Application --> Back End section?

Otherwise, could be possible tranform REST web service in oData service using Integration Gateway?

Thanks and Kind Regards,

Elia.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi All,

I did this test:

  1. Create a SMP application, for example com.sap.myRestApp
  2. Set REST service as endpoint in SMP application, fore example: http://<blabla>/myrestservice.svc. This REST service is for CRUD operations (GET for Read and POST for others)
  3. I invoked (using Advanced Rest Client) the service http://<ipsmpserver>:8080/com.sap.myRestApp by Rest client and all functionality CRUD are available.

In this case SMP Server work like a http proxy.

In your opinion, this could be a good choise to use REST service with SMP server without rewrite it in OData format?

Regards,

Elia.

bjoernw
Participant
0 Kudos

Hi Elia,

yes, in my opinion that should be fine.

Kind rergards

Björn

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Elia,

In our current project work we are using REST service directly and its working fine.

midhun_vp
Active Contributor
0 Kudos

Hi Elia,

You can have anything for endpoint URL (ex. http://www.cnn.com). Only difference will be in the HTTP response and you have to parse it your own.

Regards,

Midhun VP

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Elia,

I can share some points.

You have to define only OData (service document) URL, under Application>Back End connection.

I don't think support of REST web service has been added in new release of SMP 3.0 SP04. Check  SAP Note 1931374 . No talk about REST WS.

Regards

JK

bjoernw
Participant
0 Kudos

Hi Elia,

Jitendra is correct and REST web services are not yet supported by Integration Gateway.

Regards

Björn