cancel
Showing results for 
Search instead for 
Did you mean: 

can we directly access SMP 3.0 Application using URL

0 Kudos
242

Hi Experts,

Below is the  screen shot related to SMP server cockpit  where we have configured  ODATA.

Any idea like how can give the directly access the  SMP ?( using URL)  .

ie. for ex :

http://ADMINIXXXI:8080/com.sap.sampleflighcapsel

where  com.sap.sampleflighcapsel is  Application name in  SMP admin cockpit.

I tried the above link in API manager tool. But its not working.

Can somebody tell , what is the right format ?

Note: I do not wish to access the ODATA URL.  Its working for ODATA URL.

         My requirement is to directly access SMP 3.0 Application using URL

Thanks,

Shreedhar Gangadhar

Accepted Solutions (1)

Accepted Solutions (1)

nageshcaparthy
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Shreedhar,

Yes, Its possible. Please refer to this blog by JK for the complete details:

Hope this answers all your questions.

Regards,

Nagesh

nageshcaparthy
Product and Topic Expert
Product and Topic Expert
0 Kudos

Also you can deploy your HTML apps. Refer

Answers (3)

Answers (3)

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Please update this thread with your latest findings.

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

You dont need to put EntitySet info for the BACKEND URL. You can remove 'WORKORDERSet' from the url.

What is the security provider you have selected for this application?

Regards,

JK

PS: By looking at screenshot, I can easily guess that you are working on SMP3 SP04 or lower version. Latest release is SP08.

midhun_vp
Active Contributor
0 Kudos

Hi Shreedhar,

Could you please explain what you are trying to do.

If your requirement is to create a REST API based application you could follow this document:SAP Mobile Platform Server 3.0 SP08 – SAP Help Portal Page

A link to example of testing it from a rest client is already given by Nagesh.

Regards, Midhun

SAP Technology RIG

0 Kudos

Hi Midun,

Please look into the screen shot.

We  already have a Native IOS app build on following flow.

IOS app ->  Cast iron layer -> API manager -> OData layer -> SAP ECC backend.

Now I need to use the  similar architecture where we are accessing the  SMP from API manager instead of ODATA directly ( we are any way  configuring ODATA in SMP console)

ie.  the Flow I need is:

IOS app ->  Cast iron layer -> API manager -> SMP 3.0 -> SAP ECC backend.

thats the reason I am tried to place the SMP URL  in API manager instead of ODATA URL.

It works for ODATA URL.

So my question is:

How I need to give the URL for SMP ?

and will the solution work?

I tried like below ( as suggested by Nagesh in the link above)

http://XXXXX:8080/com.sap.sampleflighcapsel

But still it did not work.

midhun_vp
Active Contributor
0 Kudos

Hi Shreedhar,

I don't know how API manager works. If it supports REST it should give the response.

Also note that, you need to pass required header values to get the response. Firstly, you need to register with SMP server, in the response of this registration request you will receive a app connection id. You need to pass this id with all further requests. You could find more information on the headers and requests in the same blog referred by Nagesh.

Regards, Midhun

SAP Technology RIG

nageshcaparthy
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Shreedhar,

Instead of smpAdmin and password, please try to user the ABAP Login while testing. What is the error that you get. It should pretty much work. What is the error that you are getting.

Please try to trouble shoot step by step, First check if the oData is working directly, then configure the oData with correct login modules and then check again. 

Regards,

Nagesh