• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CFSharePoint

Community Beginner ,
Mar 10, 2022 Mar 10, 2022

Copy link to clipboard

Copied

Hello All,
My name is HP. I am working for Leidos and our team is supporting one of the FAA's CF applications.
I am assigned to find the way to make connection from our CF application to a sharepoint server.
I have never done it (using CFSharepoint) before.
The sharepoint administrator provides me with User Name, Password and the URL. Manualy I am able able to log in this URL with User Name, Password they provide me.
however the below is my code is to hit/connect their URL give me an error

<cfsharepoint action="getlistitems"
WSDL="https://xxx.xxx.xxx/ajg/apt-archive/Lists/JAT/AllItems.aspx"
username="xxxx"
domain="https://xxx.xxxx.xxx"
password="xxxx"
authtype="Basic"
name="listCollection"/>
<CFDUMP var="#listCollection#">


This is the error I got when I ran the above codes.

Unable to read WSDL from URL: https://xxx.xxx.xxx/ajg/apt-archive/Lists/JAT/AllItems.aspx.
Error: 401 Unauthorized. It is recommended that you use a web browser to retrieve and examine the requested WSDL document to ensure it is correct.

I wonder if you can help me on what should I fix in my codes or something that needs to be done from Sharepoint server side to allow me to connect ot it?

Thank you very much for your time

Views

142

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Mar 10, 2022 Mar 10, 2022

Copy link to clipboard

Copied

[Moderation]

Removed the domain details from the post.

 

Thanks,
Priyank Shrivastava

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 11, 2022 Mar 11, 2022

Copy link to clipboard

Copied

I removed the attribute domain, then I got this error

pham_mn_0-1647014321040.png

 It seems I have to place domain in the code

Thank you for your time

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 15, 2022 Mar 15, 2022

Copy link to clipboard

Copied

LATEST

Hi @pham_mn ,

Is there perhaps a misunderstanding? Your code does need the domain details. I think what Priyank meant was for you to remove such private details from your post in this forum. 

 

As for suggestions, what happens when you do as ColdFusion says and just open the WSDL URL in a browser? That is a good test.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation