on 11-06-2013 3:34 PM
Hello Experts,
I want to call COPY web service from SharePoint in CE application. Our version of CE is 7.2 SP5.
For executing the web service in one of the application, I was creating the provider system with COPY wsdl url from sharepoint server.
i.e. "http://<hostname:port>/_vti_bin/copy.asmx?wsdl"
However, it results in Unauthorized error and doesnt complete the provider system setup.
Error occurred while downloading WSIL file. Error message: Deserializing xml stream "http://<hostname:port>/_vti_bin/copy.asmx?wsdl" failed.com.sap.engine.services.webservices.espbase.wsdl.exceptions.WSDLException: Invalid Response Code: (401) Unauthorized. The requested URL was:"Connect to "http://<hostname:port>/_vti_bin/copy.asmx?wsdl", used user to connect: userid"
Has anyone worked on similar scenario ? any help is appreciated.
-Abhijeet
Hello Abhijeet, then use the "In Private" browsing of Internet Explorer, Incognito of Google Chrome or Private Window of Firefox to test the credentials. Windows integrated authentication shall not be triggered in the private mode. Hynek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you review your IIS log files and see, how do you authenticate to get your WSDL, when you access from Internet Explorer ("In Private") and compare it with the moment, when you go from within CE?
The log files are located ususaly here: (System Drive):\WINDOWS\system32\LogFiles
Eventually past the log file lines here.
Thanks Hynek for your reply.
Unfortunately we dont hvae access to SharePoint server. But, I doubt if there will be any log there as the error is traced correctly on CE server.
Another finding is that we also couldnt execute the web service from WSNavigator in CE. This leads to do some investigation around authentication mechanism used in SharePoint, and we are doing that for the moment.
-Abhijeet
Hi Hynek,
finally implemented the the scenario using APIs. We faced issue of NTLM authentication on sharepoint side and as there was no support from sharepoint team, had to manage some solution entirely on our own.
http://scn.sap.com/docs/DOC-51735
Thanks for your help.
-Abhijeet
Is your technical user authorised to access the resource?
Copy the URL into a web browser (Internet Explorer) and use the technical user credentials to authenticate. Do you get the same error?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.