cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP proxy client sending to XI

Former Member
0 Kudos

We have created an outbound interface in XI and generated the proxy in ABAP using SPROXY. When we test the call of the proxy, we get the following error in SXMB_MONI..

HTTP response contains status code 401 with the description Unauthorized

Any advice on how to troubleshoot and resolve would be appreciated.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

check this blog

Answers (5)

Answers (5)

Former Member
0 Kudos

We were able to get it working by making a change in the Integration Engine Configuration (in sxmb_adm).

Changed "Corresponding Integ. Server" from "http://<server>:<port>/sap/xi/engine?type=entry"

to "dest://XI_INTEGRATIONSERVER"

Former Member
0 Kudos

Thanks for all the suggestions, I have checked most of what has been suggested (SM59 HTTP, SXMB_ADM Int Eng Cnf, SLDCHECK, and SPROXY Connection Test) and these appear ok.

I can provide further info that may help...

In SXMB_MONI there appear to be two high level steps involved in the processing. The first is "Inbound Message (SENDER)" which has a green flag. The next is "Call Integration Server", which has a Red flag. When I look at the Trace section of the SOAP Header IT is giving the following information..

Anmeldung fehlgeschlagen

Was ist passiert ?

Der Aufruf der URL http://acadnt12:8000/sap/xi/engine wurde aufgrund fehlerhafter Anmeldedaten abgebrochen.

Hinweis

Die Anmeldung wurde im System E60 ausgef?Hierbei wurden keine Anmeldedaten bereitgestellt.

Was k?n Sie tun ?

Falls Sie noch ?eine Benutzerkennung verf?so wenden Sie sich an Ihren Systemadministrator.

Fehlercode: ICF-LE-http-c:800-l:-T:-C:6-U:-P:-L:6

HTTP 401 - Unauthorized

Ihr SAP Internet Communication Framework Team

Which I was able to roughly translate to...

Registration missed What happened? The call of the URL http://acadnt12:8000/sap/xi/engine was broken off due to incorrect dates of registration. Reference The registration became in the system E60 ausgef? Here no dates of registration were made available. Which k? n you do? If it still? a user identification verf? thus you turn to your system administrator. Error code: ICF LE HTTP C: 800-l: - T: - C: 6-U: - P: - L: 6 HTTP 401 - Unauthorized Its SAP Internet Communication Framework team

Former Member
0 Kudos

Hi,

Can you check the following;

Transaction SXMB_ADM􀃆 Integration Engine Configuration

For an application system you have to maintain the role of the business

system as an application system. Set the corresponding Integration Server as

an HTTP destination (for example, dest://INTEGRATION_SERVER). Create

the destination in transaction SM59 and set the type to HTTP Connections to

R/3 System.

􀁸 Transaction SLDCHECK

Since the applications communicate with the SLD to get their own business

system and Integration Server information, the application system needs to

SAP NetWeaver Process Integration 7.1 Troubleshooting Guide

December 2007 19

be maintained in the SLD and the connection to the SLD needs to be running

from all business systems. Use the transaction SLDCHECK to check whether

this is the case.

􀁸 Transaction SPROXY

The interfaces are taken from the Enterprise Services Repository of the

connected PI system. To make sure this connection is running correctly, use

the test reports provided in transaction SPROXY 􀃆 Button u2018Connection Testu2019:

o Report SPROX_CHECK_IFR_ADDRESS checks whether the connection to

the exchange profile is running and whether the parameters are set.

o Report SPROX_CHECK_HTTP_COMMUNICATION checks whether the

HTTP communication of the system is running.

o Report SPROX_CHECK_IFR_RESPONSE checks whether the connection

to the Integration Builder is running correctly.

o Report SPROX_CHECK_IFR_CONNECTION checks whether the data

coming from the Integration Builder can be correctly interpreted.

Regards,

Sreenivas

Former Member
0 Kudos

Hi

Chek the RFC Destination between your Source (Proxy System) to XI.

Check there wud b some authorization problems.

rest wud b fine once sorted out

rgds

srini

dharamveer_gaur2
Active Contributor
0 Kudos

Hi

Threads which may help u to solve u r problem