Question
Calling .NET web service through coldfusion
I have written a WEB SERVICE (to download a file from
SharePoint) in .NET and when i call that web service through
coldfusion file......... i am getting the below error:
Cannot perform web service invocation DownloadFiles_test.
The fault returned when invoking the web service operation is:
AxisFault
faultCode: { http://xml.apache.org/axis/}HTTP
faultSubcode:
faultString: (401)Unauthorized
faultActor:
faultNode:
faultDetail:
{}:return code: 401
401 UNAUTHORIZED
{ http://xml.apache.org/axis/}HttpErrorCode:401
''
The error occurred in D:\SiSystemsFile\Webservices\WebSites\MG2Code\MG2Code_DHK\ZZTest\DownloadFiles.cfm: line 31
29 : <cfinvoke webservice=" http://10.1.15.224/one.asmx?wsdl" method="DownloadFiles_test" returnvariable="aresult" refreshWSDL="yes">
30 : <cfinvokeargument name="getFileName" value="woody query.txt" />
31 : <cfinvokeargument name="docName" value="woody query.txt" />
32 : </cfinvoke>
33 :
Please do provide a solution for this
Cannot perform web service invocation DownloadFiles_test.
The fault returned when invoking the web service operation is:
AxisFault
faultCode: { http://xml.apache.org/axis/}HTTP
faultSubcode:
faultString: (401)Unauthorized
faultActor:
faultNode:
faultDetail:
{}:return code: 401
401 UNAUTHORIZED
{ http://xml.apache.org/axis/}HttpErrorCode:401
''
The error occurred in D:\SiSystemsFile\Webservices\WebSites\MG2Code\MG2Code_DHK\ZZTest\DownloadFiles.cfm: line 31
29 : <cfinvoke webservice=" http://10.1.15.224/one.asmx?wsdl" method="DownloadFiles_test" returnvariable="aresult" refreshWSDL="yes">
30 : <cfinvokeargument name="getFileName" value="woody query.txt" />
31 : <cfinvokeargument name="docName" value="woody query.txt" />
32 : </cfinvoke>
33 :
Please do provide a solution for this
