cancel
Showing results for 
Search instead for 
Did you mean: 

Help with soap adapter

Former Member
0 Kudos

hi,

how can i configure the standard http user-authentication in a soap request?

i tried to set the user-authentication field and password under the url-field, but i still get this exception:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Aufruf eines Adapters

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">

<SAP:Category>XIAdapter</SAP:Category>

<SAP:Code area="HTTP">ADAPTER.HTTP_EXCEPTION</SAP:Code>

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText>HTTP 401 Unauthorized</SAP:AdditionalText>

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack />

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

and this html-message in the main-attachment:

****************************

Sie haben nicht die erforderliche Berechtigung, um die Seite anzuzeigen

Sie verfügen nicht über die Berechtigung, dieses Verzeichnis oder diese Seite unter Verwendung der von Ihnen bereitgestellten Anmeldeinformationen anzuzeigen, weil Ihr Webbrowser ein WWW-Authenticate-Headerfeld sendet, das die Konfiguration des Webservers nicht akzeptieren kann.

-

-


Versuchen Sie Folgendes:

Wenn Sie Ihrer Meinung nach in der Lage sein sollten, dieses Verzeichnis bzw. diese Seite anzuzeigen, wenden Sie sich an den Websiteadministrator.

Klicken Sie auf die Schaltfläche Aktualisieren, um es mit anderen Anmeldeinformationen erneut zu versuchen.

HTTP Error 401.2 - Unauthorized: Access is denied due to server configuration favoring an alternate authentication method. (HTTP-Fehler 401.2 - Nicht autorisiert: Der Zugriff wurde verweigert, weil die Serverkonfiguration eine andere Authentifizierungsmethode verlangt.)

Internetinformationsdienste (Internet Information Services oder IIS)

*********************

it should be the simple standard authentication then this one:

<a href="https://websmp104.sap-ag.de/notes">https://websmp104.sap-ag.de/notes</a>

thx for any help

mfg Ronald Grafl

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

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

See the below link

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

Regards

Chilla

Answers (2)

Answers (2)

Former Member
0 Kudos

use HTTPS with client authentication

Former Member
0 Kudos

thanks for all replys

problem is still available, but i have to work through the tipps in the worklog 4061 and i cant do this until next week because i have not much rights 😕

mfg

Grafl Ronald

Former Member
0 Kudos

Hello,

In the RFC please use XIAPPLUSER and just check if it is locked. If yes unlock it.

Regards,

Former Member
0 Kudos

Hello,

Also please refer to sap note # 876480

'Standalone adapter HTTP 401 incompete response'

Hope the patch suggested in this will solve your issue.

Let me know if it helped you.

Regards,