tracker issue : CF-3206122

select a category, or use search below
(searches all categories and all time range)

invoke webservice (related to file)

| View in Tracker

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:

<cffile action="READBINARY" file="c:\temp\Doc001.doc" variable="binarydata"> <!--- one line MS Word doc --->

	fileStr = 'c:\temp\result.doc';
	docData = toBase64(binarydata);
	myws = createObject("webservice", "http://xyz:80/ws.cfc?wsdl");
	myws.saveDoc(fileStr, docData);

<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)#" >

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



Detail The fault returned when invoking the web service operation is:<br> <pre>AxisFault faultCode: {}Server.userException faultSubcode: faultString: Connection reset faultActor: faultNode: faultDetail: {} Connection reset at at at at org.apache.axis.transport.http.HTTPSender.readHeadersFromSocket( at org.apache.axis.transport.http.HTTPSender.invoke( at org.apache.axis.strategies.InvocationStrategy.visit( at org.apache.axis.SimpleChain.doVisiting( at org.apache.axis.SimpleChain.invoke( at org.apache.axis.client.AxisClient.invoke( at org.apache.axis.client.Call.invokeEngine( at org.apache.axis.clie... ''</pre> Message Cannot perform web service invocation saveDoc.
Comment by External U.
19127 | June 05, 2012 10:25:48 AM GMT
not reproducible, neither with wsverison=1 nor with wsversion=2
Comment by Milan C.
19128 | September 12, 2012 11:11:45 AM GMT