on 09-10-2008 12:25 PM
Hello everyone!
I have setup the ValueMappingReplication scenario ("Insert" entries). I configured an inbound XI adapter with the following values:
Host: 190.20.20.20
Service Number: 50200
Path: /MessagingSystem/receive/JPR/XI
Username: PIAPPLUSER
Password: ******
PIAPPLUSER has the Role: SAP_XI_APPL_SERV_USER and is not locked.
My problem is I get an error in SXMB_MONI saying:
SOAP:mustUnderstand="1">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="INTERNAL"> HTTP_RESP_STATUS_CODE_NOT_OK </SAP:Code>
<SAP:P1> 401 </SAP:P1>
<SAP:P2>Unauthorized</SAP:P2>
<SAP:P3 />
<SAP:P4 />
Here's how my payload looks like:
<?xml version="1.0" encoding="UTF-8" ?>
<ns0:ValueMappingReplication xmlns:ns0="http://sap.com/xi/XI/System">
<Item>
<Operation>Insert</Operation>
<GroupID>8060d1a0-7f21-11dd-c8b4-006073e34ca8</GroupID>
<Context>http://sap.com/xi/XI</Context>
<Identifier scheme="source1" agency="source">9000200</Identifier>
</Item>
<Item>
<Operation>Insert</Operation>
<GroupID>8060d1a0-7f21-11dd-c8b4-006073e34ca8</GroupID>
<Context>http://sap.com/xi/XI</Context>
<Identifier scheme="target1" agency="target">yes</Identifier>
</Item>
</ns0:ValueMappingReplication>
Can anyone help me out?
Glenn
Hi Glenn,
Plz do follow the mentioned steps to solve ur problem:
1.Did you maintain Client, userid, password, and lang information in SICF transaction -> sap/xi/engine? Double click on service and check whether you have entered correct information.
2.Then you might check the roles of the XIISUSER in SU01. In some case there are some double roles, i.e., two times the role SAP_XI_IS_SERV_USER assigned. One might have the date of the last update, the other one might have apparently the older version. Delete the older roles manually and the error should disappear.
3.to send messages to xi you need a service id / pwd which is specific to your landscape usually its xiappluser. Contact your basis group for password.
4.Activated all services on the r3 system.
Create HTTP connection to XI from r3
sm59-> http connetons to r3
let us say you have created a HTTP connection in the integrationserver_XI, make sure in its settings the prefix path is set to /sap/xi/engine?type=entry. Also check its log on credentials, you can use xiappluser.
IN Integration builder, receiver communication channel make sure you have entered proper
host service number
path = /sap/xi/enigne?type = receiver.
5.It might also be that you have authorization problems with your XISUPER. In the visual administrator and in ABAP SU01, make your XISUPER has all the necessary(SAP_SLD* and SAP_XI*) roles assigned to it. If not, try to assign these and see if this can be of any help.
6.can you also try the following;
Visual Admin -> start the service,
"com.sap.aii.af.ms.app".
Please go through the followings links also :
http://help.sap.com/saphelp_nw04/helpdata/en/82/f4993c03e0cd37e10000000a11405a/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/39/83682615cd4f8197d0612529f2165f/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/39/83682615cd4f8197d0612529f2165f/frameset.htm
Regards,
Vinod.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Error: HTTP_RESP_STATUS_CODE_NOT_OK 401 Unauthorized
Description: The request requires user authentication
Possible Tips:
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.
May be wrong password for user XIISUSER
May be wrong password for user XIAFUSER
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
Please check Note 938980 if you are using VPN.
This is probably a Java Web-Start issue. Please check logon with other JWS versions. Also check if you have any conflicting JWS versions installed.
This is a checklist for logon errors:
Also check the methods in these threads:
chek below also
In Maintain Service (T CD- SICF)
go to:
default host->sap->xi->engine(dbl click)
here under Logon data check if the logon procedure is standard or not
otherwise try using PIAPPLUSER
Regards,
Jayasimmha Jangam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Glenn..
Error: HTTP_RESP_STATUS_CODE_NOT_OK 401 Unauthorized
Description: The request requires user authentication
Possible Solution:
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
Have you gone through this blog...
Check whether the connection parameters are rights in ID. the http error 401 relate to a bad user or pass.
Check this users:
PIAFUSER
PIDIRUSER
PIREPUSER
PIRWBUSER
PIISUSER
J2EE_ADMIN
J2EE_GUEST
i adviced you to check when before restart the server if any of this users are lock.
Also check this-
check this blog
Gud LUCK !!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.