soap - Coldfusion cfc webservice returns error when string parameter is longer than 64k -
im building webservice in coldfusion. simple function receives 2 parameters, both of them string. runs fine when 1 of strings longer 64k chars throws error cfinvoke side. "doctype not allowed"
any ideas? here sample code:
<cfcomponent> <cffunction name="syncdata" returntype="string" access="remote"> <cfargument name="table" type="string" required="yes"/> <cfargument name="data" type="string" required="yes"/> .... .... </cffunction> </cfcomponent>
on client remote side
<cfinvoke webservice="myurl" refreshwsdl="yes" method="syncdata" returnvariable="result" username="myuser" password="mypassword"> <cfinvokeargument name="table" value="mytablename"> <cfinvokeargument name="data" value="#data#"> </cfinvoke>
when #data# length below 64k works fine, if go beyond limit error "org.apache.axis2.axisfault: javax.xml.stream.xmlstreamexception: doctype not allowed"
i've been looking around see if can increase limit, don't know where.
Comments
Post a Comment