Thanks for your quick response.
The following code runs successfully in a CF environment, yet fails in the Railo environment. Do you have any idea why this could be? Is is related to an environment setup issue?
<html>
<body>
<cfajaxproxy cfc="testcfc" jsclassname="testcfc" />
<script>
var proxy=new testcfc();
proxy.setCallbackHandler(function(response){
alert('string test succeeded!');
});
proxy.testWithString('teststring'); // succeeds
proxy=new testcfc();
proxy.setCallbackHandler(function(response){
alert('struct test succeeded!');
});
proxy.testWithStruct({ struct: 'structval' }); // fails
</script>
</body>
</html>
### test.cfc
<CFCOMPONENT>
<CFFUNCTION name="testWithString" access="remote" returnFormat="json" output="no">
<CFARGUMENT name="stringParam" type="string" required="yes">
</CFFUNCTION>
<CFFUNCTION name="testWithStruct" access="remote" returnFormat="json" output="no">
<CFARGUMENT name="structParam" type="struct" required="yes">
</CFFUNCTION>
</CFCOMPONENT>