cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP to Proxy Scenario in PI 7.31 Java Stack - 401 Unauthorized error

0 Kudos

Hello,

i am getting below error while testing the scenario by using soap UI tool, this is happening when i am using client credentials who is not having  PI developer Role.

Note : it's working fine when i am using PI developer credentials .

Error :

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>

<head>

  <title>Error Report</title>

  <style>

    td {font-family : Arial, Tahoma, Helvetica, sans-serif; font-size : 14px;}

    A:link {color : #0059AA;}

    A:visited {color : #999999;}

    A:active {color : #999999;}

  </style>

</head>

<body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" rightmargin="0">

  <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75">

    <tr bgcolor="#FFFFFF">

      <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="4" color="#666666"><b>  403   Forbidden</b></font></td>

    </tr>

    <tr bgcolor="#3F73A3">

      <td height="23" width="84"><img width=1 height=1 border=0 alt=""></td>

      <td height="23"><img width=1 height=1 border=0 alt=""></td>

      <td align="right" height="23"><font face="Arial, Verdana, Helvetica" size="2" color="#FFFFFF"><b>SAP NetWeaver Application Server </b></font></td>

    </tr>

    <tr bgcolor="#9DCDFD">

      <td height="4" colspan="3"><img width=1 height=1 border=0 alt=""></td>

    </tr>

  </table>

  <br><br><br><br><br><br>

  <p><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><b>  Error: You are not authorized to view the requested resource.</b></font></p>

  <p><font face="Arial, Verdana, Helvetica" size="2" color="#000000"><b>  <a href="https://wiki.sdn.sap.com/wiki/x/wIN3Cw">SAP Technology Troubleshooting Guide</a></b></font></p>

  <p><font face="Arial, Verdana, Helvetica" size="2" color="#000000"><table>

    <tr>

      <td valign="top"><b> Details:</b></td>

      <td valign="top"><PRE>No details available.</PRE></td>

    </tr>

  </table></font></p>

</body>

</html>

Please let me know where can we check the roles into  PI 7.31 Java Stack ?

Thanks,

Sridhar

Accepted Solutions (0)

Answers (1)

Answers (1)

azharshaikh
Active Contributor
0 Kudos

Hi Sridhar,

The sender needs proper roles inorder to post SOAP msg into PI. Please get the following roles assigned to the user thats being used to post msg:

Select user type as System and assign following roles:

SAP_BC_WEBSERVICE_PI_CFG_SRV

SAP_XI_APPL_SERV_USER

You can view/maintain the User / Roles in NWA (UME)

UME Roles and Actions (AS Java) - SAP NetWeaver Process Integration Security Guide - SAP Library

Regards,
Azhar