cancel
Showing results for 
Search instead for 
Did you mean: 

Web Service Authorization

Former Member
0 Kudos

Hi everybody,

I am currently having trouble with the authorization of a self made web service.

I followed the steps of the Studio Library document and made the "Web Service Authorization" inclusive the WorkCenterView. I opend the the UI Designer and switched the "AccessContextCode" to "4-Sales" because I want to test the service with th "Sales01S" of the reference system. I saved and activated. In the ByDesign Studio I switched "Enable Key User" in the context menu of the pogram and activated it all.

But when I try to connect to the service my access is denied. I also tested "1010-Employee" but with the same result.

The error message is: <Exception_Text>SRT: RBAM authorization denied</Exception_Text>

and SOAP UI gives the following Info:

INFO:myXXX.sapbydesign.com:443 requires authentication with the realm 'SAP NetWeaver Application Server [G4D/015][alias]'

I use the SOAP UI Auth window for the username and password. I don't know if I miss a step from the library document or doing it wrong.

So, any help is appreciated. Thanks a lot.

Best regards,

Jochen

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Jochen,

I know the issue. Which user you use to connect to the webservice? A technical user or a business user?

Regards,

Andreas

Former Member
0 Kudos

Hi Andreas,

I tried both. First as technical user "admin" and later as business user. Like I wrote before, I wanted to use the the sales user of the reference system mentioned in the Business Center.

Best regards,

Jochen

Former Member
0 Kudos

Hi,

if I had this issue it was solved by setting the nessacary RBAM authorization in backend system. But that was in a previously release and I would have thought the issue is solved.

Sorry, I have no further ideas but if you find a solution I would be happy if you could post it to this thread.

Regards,

Andreas

Former Member
0 Kudos

Hi everybody,

I got an answer from SAP about this topic:

To provide sufficient authorizations to the end user, you first need to

assign the workcentre view (generated due to the WS-Auth file) to the

user (that invokes the webservice) in "Application and user management

work centre" in the ByD portal.

The work centre view cannot be assigned to

the user SALES01S or any other user, simply because the work centre view

is not assigned to any work centre and hence will not be visible in the

work centre "Application and user management".

I rebuilt my project without assigning a work centre and now it works. In my opinion there was also a problem with the authorization backend.

Best regards,

Jochen

Former Member
0 Kudos

Hi,

This Issue will not be resolved by Assigning Work center You need To Assign Access Rights To the particular User Then only the issue can be resolved.

For Assigning Access Rights Go To Application and Management and select Particular User And go to Edit->Access Rights.

Warm Regards,

PavanKumar.G