cancel
Showing results for 
Search instead for 
Did you mean: 

Exception occurred in communication framework:Error in HTTP Framework:401Unauthorized

Former Member
0 Kudos

Hello everybody,

I have an interface Navision - SAP through a web service. The Web service has an URL attached. This URL is accesibile with Citrix, using the internet explorer from Intranet. It requires a user and password and it works ok from the citrix browser.

The SAP system is also on Citrix. I try to consume the web service in SAP. I enter the url entered in the browser, then it requests me for the user and the password. I enter exactly the same data I entered in the browser but it returns the error from the title. I tried domain/user like in the browser, simply user or anything else. The error from the title is returned.


SE53 does not give any failed authorization. Some basis guy mentioned the requirement for a certificate in STRUST, but I dont know if that is the solution and if it is, how to do it.


Can you help me?


Thanks,

Razvan

Accepted Solutions (1)

Accepted Solutions (1)

former_member185954
Active Contributor
0 Kudos

Hello Efren,

Have you done the required configuration to consume a webservice from an external interface?

Have a look at the attached document:

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/802edea6-274e-2e10-fd95-e5e1a8bc0...

Regards,

Siddhesh

Former Member
0 Kudos

Hi Siddhesh,

I checked proxy configuration for HTTP client and it was empty. I tried to fill it in various ways, but it did not work.

I ticked global settings proxy setting is active. For the Authorization I tried to fill CHECK or PROXY. I dont know what I should fill here.

In HTTP log, I tried to fill host name and port from ICM_DATA. They are returned by /SDF/GET_ICM_VIRT_HOST_DATA function.

For HTTP log I filled my SAP user and password.

I combined in many ways what I wrote above. Do you know what I did wrong?

Thanks,

Razvan

Former Member
0 Kudos

Further things I have noticed:

-    For http log I used before the host and port from sap; probably that was wrong, I changed now to the port and host from the system taken from a site which returns host in port (from internet explorer from intranet); also I used the user and password for connecting to citrix in the http log.

Still nothing works.

-     If I tick proxy setting is active, the error returned is 404 error in http framework; If I leave it unticked or place * in the no proxy for the following addresses, I receive 401 unauthorized.

-     So 404 if I try to connect using proxy and 401 if I try to connect without proxy.

-     Using Lagado website, I tried to check in the internet explorer from citrix and it seems I am not using a proxy

-     So I dont know if really the proxy settings are the issue, but that authorization issue is confusing (it is not SU53 related); also I cant debug because the problem is at a kernel statement which can not be debugged.

Razvan

Former Member
0 Kudos

The issue seemed to be NTLM authentification which is not accepted by SAP. Note 1441809.

former_member185954
Active Contributor
0 Kudos

Nice of you to share the resolution as well.

Answers (0)