on 12-08-2015 12:12 PM
Dear All,
Need your help for the below,
I have a sharepoint Integration requirement to upload files using REST adapter using PO 7.4 SP11 middleware
Scenario: IDOC --> SAP PO --> 'Sharepoint' using REST API
And as per Sharepoint technical guy, their sharepoint system only supports NTLM authentication in a two step process
Step-1) execute url:[WebUrl]/_api/contextinfo with HTTP POST method and NTLM authentication --> to get FormDigestValue (i.e., Token) in response
Step-2) To upload file: use above Step1 FormDigest vlaue (in request http header) to call second http end-point say dynamic url:[WebUrl]/_api/web/GetFolderByServerRelativeUrl('" + [FolderUrl] + "')/Files" + "/Add(url='" + [FileName.Extension] + "', overwrite=[true/false])"
I understand that, step 2 alone is possible with REST adapter (i.e., assuming no step-1)
But, I am not sure if both steps 1,2 are possible with REST adapter by default without having a need for custom development for step-a i.e., HTTP calls in mapping or custom Adapter module to get the Token and utilize it for second HTTP call
Any idea? Any other better solution?
Thanks,
Praveen Gujjeti
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Anyone has worked or have an idea - on above requirement with NTLM authentication in REST adapter?
Thanks,
Praveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As far as i know not possible with the standard adapters in PI/PO (especially NTLM v2)
You might look for a self-developed solution or try a partner adapter
(e.g. KaTe RESTful Adapter)
With best regards
Sebasitan
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.