cancel
Showing results for 
Search instead for 
Did you mean: 

401 HTTP Error - XI Adapter

Former Member
0 Kudos

Hi Experts,

We are trying to develop a scenario with communication between two PIs. Due to technical problems, we have only one PI for development. Because of that, we created a sender and a receiver XI adapter in the same PI.

When we run this scenario the following error occurs:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> 
 <!--  Call Adapter 
 --> 
 <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
  <SAP:Category>XIServer</SAP:Category> 
  <SAP:Code area="INTERNAL">UNAUTHORIZED</SAP:Code> 
  <SAP:P1>401</SAP:P1> 
  <SAP:P2>Unauthorized</SAP:P2> 
  <SAP:P3>(See attachment HTMLError for details)</SAP:P3> 
  <SAP:P4 /> 
  <SAP:AdditionalText /> 
  <SAP:Stack /> 
  <SAP:Retry>M</SAP:Retry> 
  </SAP:Error>

Is it possible to send a message from an Integration Engine to itself through XI adapter? Any configuration I should check?

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi there,

In order to solve this ensure you have maintained the correct password, which MUST be the same, for all the service user on XI.

You may check all the places it should be maintained, such as Exchange Profile, SU01, SLDAPICUST, etc..

See the note below:

#999962 - PI 7.10: Change passwords of PI service users

Also ensure that the user has the correct role as per link below:

http://help.sap.com/saphelp_nwpi71/helpdata/en/9f/d12940cbf2195de10000000a1550b0/frameset.htm

Regards,

Caio

Answers (5)

Answers (5)

Former Member
0 Kudos

Experts,

We could not find a solution for this problem, so we changed our architecture.

Thanks everyone for the help.

Edited by: David Tiago Conceição on Feb 25, 2011 6:21 PM

Former Member
0 Kudos

even if you still get the right username/password/authorizations combination, I'm not sure if it will work. I think the XI protocol is also sending the message id and you can't have two message id's in the same system.

0 Kudos

Oi Tiago, tudo bem aí?

In this case, as the roles are fine and users are not locked, can you

let me know if this purpose of sending a message to the server itself

is for testing purposes?

Also, have you checked if the passwords are the same and whether

you're pointing to the correct URL on the XI Adapter's configuration?

Check also in Exchange Profile parameters.

If possible, please check for other errors, such as the HTTP error, if

that's the case and send to us for more information.

Abraço,

Caio

Former Member
0 Kudos

Hi All,

Is XIAPPLUSER a username? Should I found it at transaction SU01?

Former Member
0 Kudos

yes that is the username if u r working on PI 7.0 then it will be PIAPPLUSER

yes ur correct - use SU01 tcode

chirag

Edited by: Chirag Gohil on Feb 22, 2011 8:18 PM

Former Member
0 Kudos

Hi,

The PIAPPLUSER have the role SAP_XI_APPL_SERV_USER.

I will try to chek the other configurations.

Former Member
0 Kudos

Hi,

Addition to the above check any service users got locked in the system

you can execute the program rsusr006 for the same...

which will list you the user names if locked any..

HTH

Rajesh

Former Member
0 Kudos

Hi,

I haven't found locked processes.

I also ran the program rsusr006 and only J233_ADMIN user was in the result.

I checked this user and found no erro.

former_member463616
Contributor
0 Kudos

Hi,

Check XIAPPLUSER is having this Role - SAP_XI_APPL_SERV_USER.

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

• If the error is in Adapter Engine,then have a look into SAP note- 821026, Delete the Adapter Engine cache in transaction SXI_CACHE Goto --> Cache.

Restart the J2EE Engine to activate changes in the Exchange Profile after doing this, you can restart the message.

See the below link, it might be helpful to you.

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

Regards,

Rajesh

Edited by: Rajesh_1113 on Feb 22, 2011 7:21 PM