cancel
Showing results for 
Search instead for 
Did you mean: 

Message Could not be send 401 Unauthorized

Former Member
0 Kudos

Hi Gurus

We are working for a client demo scenario for which we need to transfer the messages from SAP TM system to SAP ERP system via XI.

As we have some issues in sending messages from TM system, we are directly sending it from the XI system through u201CRuntime Workbenchu201D.

Suddenly, we do not have authorization to send messages from RWB.

This is the current scenario

Can you tell whether its an authorization problem or some other problem?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Shyam

Check whether you have given the right credential and also check whether your user has developer rights

if not then ask your basis guy to assign you developer right and then give right credentials

401 Unauthorized

The request requires user authentication. The response MUST include a WWW-Authenticate header field containing a challenge applicable to the requested resource. The client MAY repeat the request with a suitable Authorization header field If the request already included Authorization credentials, then the 401 response indicates that authorization has been refused for those credentials. If the 401 response contains the same challenge as the prior response, and the user agent has already attempted authentication at least once, then the user SHOULD be presented the entity that was given in the response, since that entity might include relevant diagnostic information. HTTP access authentication is explained in "HTTP Authentication: Basic and Digest Access Authentication" [43].

for more details on HTTP codes you may follow these links

http://www.web-cache.com/Writings/http-status-codes.html

http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

http://www.helpwithpcs.com/courses/html/html_http_status_codes.htm

this blog will will give you the clear idea

/people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi

thanks

sandeep

if helpful reward points

Answers (7)

Answers (7)

Former Member
0 Kudos

Hi,

This is a checklist for logon errors:

/people/shabarish.vijayakumar/blog/2006/02/13/unable-to-open-iresrid-xipipi-71-updated-for-pi-71-support

Also check the methods in these threads:

Reward points if helpful.

Regards,

Soumya

vijay_b4
Active Contributor
0 Kudos

Hi Shyam,

Most common reason I have encountered for this problem is authorizations on installation. You must have both network and local machine admin rights when installing content server software. If you don't, the installation will be successful but you encounter the 401 error. Try reinstalling with correct authorization and you should resolve the issue.

Check the user id and pwd once again.

Reward points if this helps

Regards

Pragathi.

Former Member
0 Kudos

But previously we could do the same...

Suddenly it stopped...

Edited by: Shyam Madhav Pallath on May 22, 2008 2:41 PM

sunil_singh13
Active Contributor
0 Kudos

Hi Shyam,

You can try other alternatives

1)Use Altove

Create WSDL file of your interface and send it through Altova

2)use Test tool available in ID itselfe

open integration Directory ->Tools->test Configuration

give the info required and past your payload and see if your scenario works

In your case i think yopu have some Authorization problem

check if PIRWBUSER is not locked in su01.

Reward points if helpful

thanks

Sunil Singh

former_member556603
Active Contributor
0 Kudos

Hello Shyam,

Go through this blog:

/people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi

Thanks,

Satya kumar

Former Member
0 Kudos

Hi,

For your ID SAP_XI_DEVELOPER_J2EE Role required.

Thanks,

Satish.

former_member859847
Active Contributor
0 Kudos

Hi,

Pls check the userid and password

while testing it from RWB.

regards

mahesh.

Former Member
0 Kudos

Hi,

HTTP_RESP_STATUS_CODE_NOT_OK 401 Unauthorized

Description: The request requires user authentication

Possible Tips:

u2022 Check XIAPPLUSER is having this Role -SAP_XI_APPL_SERV_USER

u2022 If the error is in XI Adapter, then your port entry should J2EE port 5<System no>

u2022 If the error is in Adapter Engine

u2013then have a look into SAP note- 821026, Delete the Adapter Engine cache in transaction SXI_CACHE Goto --> Cache.

u2022 May be wrong password for user XIISUSER

u2022 May be wrong password for user XIAFUSER

u2013 for this Check the Exchange Profile and transaction SU01, try to reset the password -Restart the J2EE Engine to activate changes in the Exchange Profile After doing this, you can restart the message

Regards