Skip to Content
avatar image
Former Member

Logon authentication in REST web service

Hi Experts,

I have created a web service through SICF transaction code. Its working fine when i do maintained Logon data over there.

but the problem is that client want to use this web service on his IPhone, through login credential, Means firstly the user has to login over there then he can access the web service.

Can anyone tell/suggest me how can i achieve this one. Since i have very new to web services.

Is there any standard report or some piece that can help me to achieve this.

Thanks,

Marco

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jun 24, 2011 at 10:30 AM

    Hi Marco,

    What happens if you just remove the logon credentials (from the Logon Data tab) that you've supplied & try calling the webservice then? It should prompt the iPhone client for a user & password before executing the service. Make sure that the 'Procedure' field (on the Logon Data tab) is set to 'Standard'.

    Alternatively, if the above doesn't work:

    Change the 'Procedure' on the Logon Data tab in SICF to 'Alternative Logon Procedure' & remove all other logon procedure & just leave 'Basic Authentication' in the Logon Procedure List (you might have to scroll down to see this list).

    Regards, Trevor

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 02, 2011 at 11:55 PM

    Moderator Message: Post deleted, user posted new thread:

    Edited by: Gourav Khare on Jul 6, 2011 10:19 AM

    Add comment
    10|10000 characters needed characters exceeded