cancel
Showing results for 
Search instead for 
Did you mean: 

http 401 Unauthorized: SAP Mobile Documents configuration - NWA Destinations

former_member205423
Participant
0 Kudos

Hi All,

We have installed SAP Mobile documents on NW 7.4 Java and Integrated it with Sharepoint 2013.

We have updated the JAVA VM System
paramteres in NWA with proxy host, port, user and password. I have
included the bypass host list also.

What we have observered now is that the request is reaching sharepoint
and sharepoint response is a 401 Unauthorized.

Please find below the setup and testing completed:
1. We have Sharepoint 2013. It is configured for Kerberos and basic
authentication. The Kerberos setup document link in the SAP Mobile
Documernts guide is not available. So we have configured Kerberos
authentication based on Microsoft setup guides.

2. Have created <DESTINATION-NAME> NWA destination, pointing to
Sharepoint repository url
(http://host.domain.corp/_vti_bin/cmis/rest/CE87FECB-65E0-4F27-
9411-C7E4031A9CD3?getRepositoryInfo).

3. The Authentication mechanism chosen for the destionation is Basic
Authentication with User ID / Password.


4. Sharepoint URL
(http://host.domain.corp/_vti_bin/cmis/rest/CE87FECB-65E0-4F27-
9411-C7E4031A9CD3?getRepositoryInfo) is reachable in IE from the Source
server. It fetches an xml and the user is able to retrieve this.

5. The Sharepoint URL is also accessible from IE and the User has full
authorization at sharepoint end.

6. The same URL when tried from NWA -> Destinations results in 401
Unauthorized error.

7. We have setup https for SAP and are logging in with https:// URL.
The URL to sharepoint is http.

8. The MCM Admin page -> Corporate Documents -> Create . This also
results in Unauthorized.
"Error to Fetch RepositoryInfos
org.apache.chemistry.opencmis.commons.exceptions.CmisUnauthorizedException:Unauthorized"

Can you please confirm if there is any specific setting to be done at
Sharepoint that we are missing. The sharepoint kerberos setup document is not yet available from SAP.

Also we are not planning to use kerberos now. This is just the repoistory retrieval destionation with service user / pwd.


The same URL is working in IE but resulting in this error when tried
from nwa ping.

Please let me know any method we can try to overcome this.

Thanks and regards,
Raghavan

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member205423
Participant
0 Kudos

Hi All,

We resolved this issue. The sharepoint backend was trying to get a kerberos ticket by sending Negotiate / NTLM authentication request only.

We removed everything and changed sharepoint to accept basic authentication and it worked.

Thanks and regards,

Raghavan