on 11-11-2005 4:11 PM
Hi,
We receive this error when trying to post HTTP message to XI system.
Have edited the username, password in SICF, xi->engine but it did not solve the problem.
Can you please let us know if there is anything else we can do.
Regards,
Amar
hi,
when making a call to xi you need to provide credentials before the interface is executed .
for example
reqString = reqString + document.MessageParameters.Server.value+":";
reqString = reqString + document.MessageParameters.Port.value + "/sap/xi/adapter_plain?";
reqString = reqString + "namespace=" + senderNamespace;
reqString = reqString + "&interface=" + document.MessageParameters.SenderInterface.value;
reqString = reqString + "&service=" + document.MessageParameters.SenderService.value;
reqString = reqString + "&party=" + document.MessageParameters.SenderParty.value;
reqString = reqString + "&agency=" + document.MessageParameters.SenderAgency.value;
reqString = reqString + "&scheme=" + document.MessageParameters.SenderScheme.value;
reqString = reqString + "&QOS=" + document.MessageParameters.Qos.value;
reqString = reqString + "&sap-user=<b>useid</b>&sap-password=<b>pwd</b>";
reqString = reqString + "&sap-client=" + document.MessageParameters.Client.value + "&sap-language=D";
cheers,
naveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
<i>Is it a must that I should use the same ID, XIAPPLUSER to fire messages to XI system from a HTTP client.</i>
it is not a must to use xiappluser , you can use any user as long as the user had the role SAP_XI_APPL_SERV_USER. Xiappluser is an id that is given out of the box by SAP.
this role is required for userid that are used for firing messages to XI.
please dont forget to reward points to helpful answers
cheers,
naveen
If you are doing HTTP post to XI go to SICF -> sap -> xi -> adapter_plain (maintain logon parameters ).
This should fix your problem.
regards
Shravan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The error HTTP_RESP_STATUS_CODE_NOT_OK goes like this:
<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>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.