Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 03/09/2016
Components: Documentation
Versions: 2016
Failure Type: Unspecified
Found In Build/Fixed In Build: Alpha_v12 /
Priority/Frequency: Trivial / Unknown
Locale/System: English / Win All
Vote Count: 0
cfsharepoint's login attribute causes bad request
Repro:
<cfscript>
loginStruct = {domain="my.domain.com", username="username", password="password"};
cfsharepoint(action="getlistcollection", login=loginStruct, authtype="ntlm", ntlmdomain=" ", name="myResult");
writeDump(myResult);
/*Fails b/c this request is sent:
--------------------------------------------
POST /_vti_bin/Lists.asmx HTTP/1.0
Content-Type: text/xml; charset=utf-8
Accept: application/soap+xml, application/dime, multipart/related, text/*
User-Agent: Axis/1.2.1
Host: my.domain.com
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: "http://schemas.microsoft.com/sharepoint/soap/GetListCollection"
Content-Length: 335
Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=
--------------------------------------------*/
cfsharepoint(action="getlistcollection", domain="my.domain.com", username="username", password="password", authtype="ntlm", ntlmdomain=" ", name="myResult");
writeDump(myResult);
/*Works b/c this request is sent:
--------------------------------------------
POST /_vti_bin/Lists.asmx HTTP/1.1
Content-Type: text/xml; charset=utf-8
SOAPAction: "http://schemas.microsoft.com/sharepoint/soap/GetListCollection"
User-Agent: Jakarta Commons-HttpClient/3.1
Host: my.domain.com
Transfer-Encoding: chunked
14f
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><GetListCollection xmlns="http://schemas.microsoft.com/sharepoint/soap/"/></soapenv:Body></soapenv:Envelope>
0
--------------------------------------------*/
</cfscript>
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4126551
External Customer Info:
External Company:
External Customer Name: Aaron Neff
External Customer Email: adobelabs@itisdesign.com
External Test Config:
Attachments:
Comments: