Status/Resolution/Reason: Closed/Withdrawn/CannotReproduce
Reporter/Name(from Bugbase): Allen Weng / Allen Weng (Allen Weng)
Created: 06/05/2012
Components: Web Services
Versions: 10.0
Failure Type: Crash
Found In Build/Fixed In Build: Final /
Priority/Frequency: Critical / All users will encounter
Locale/System: English / Win All
Vote Count: 0
Problem Description:
the following code was work in CF6-9, NOT working in CF 10
Steps to Reproduce:
client:
<cffile action="READBINARY" file="c:\temp\Doc001.doc" variable="binarydata"> <!--- one line MS Word doc --->
<cfscript>
fileStr = 'c:\temp\result.doc';
docData = toBase64(binarydata);
myws = createObject("webservice", "http://xyz:80/ws.cfc?wsdl");
myws.saveDoc(fileStr, docData);
</cfscript>
ws.cfc:
<cfcomponent output="false" >
<cffunction name="saveDoc" returnType="void" output="no" access="remote" hint="">
<cfargument name="fstr" type="string" required="yes">
<cfargument name="document" type="string" required="yes">
<cffile action="write" file="#arguments.fstr#" output="#ToBinary(arguments.document)#" >
</cffunction>
</cfcomponent>
Actual Result:
exception (see below)
Expected Result:
file saved
Any Workarounds:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3206122
External Customer Info:
External Company:
External Customer Name: AWeng123456
External Customer Email:
External Test Config: My Hardware and Environment details:
windows 2008 R2, 64 bit, jvm 1.6.0_32
Attachments:
Comments: