cancel
Showing results for 
Search instead for 
Did you mean: 

Test message giving 401 unauthorised

former_member474221
Participant
0 Kudos

hi

i am trying to test in RWB-> test message and also provided the user/pwd

but i am getting 401 unauthorised.....I already checked PIAPPLUSER/PIAFUSER etc and they are ok

Accepted Solutions (0)

Answers (2)

Answers (2)

prateek
Active Contributor
0 Kudos

This is because you don't have authorization to post test message. Get the role SAP_XI_IS_SERV_USER assigned to the user you are using and then try again. If this doesn't work, add SAP_XI_RWB_SERV_USER_MAIN as well.

Regards,

Prateek Raj Srivastava

former_member474221
Participant
0 Kudos

Hi

Actually the message is coming in Moni but not going to the webservice...

I had created that webservice from a function module in ECC...and I had selected " no authentication required" still I am getting that error......???

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Still you need service user Id to consume webservice which is hosted on the ECC. Talk to BASIS team and get the user credentials.

former_member474221
Participant
0 Kudos

To which user id should i assign these roles??.....when PI is calling the webservice we are not specifyig any user in the SOAP receiver channel....

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi,

Provide ECC user name and password details in SOAP receiver chenna and try . it should work.

Regards,

Raj

baskar_gopalakrishnan2
Active Contributor
0 Kudos

401 unauthorized errror is the login credentials errros. Check in your RFC destination type of h and see the login credentials.