I'm having a problem with Coldfusion 8 calling a .NET assembly. Everything is ok when I access a method where I'm passing an object in by value, but when I .NET needed a value by reference, things get a screwy on me. Has anybody been able to get Coldfusion 8 to work well with .NET? I'd love to compare note with someone.
I know that this forum doesn't seem to be too populated with Coldfusion guys, but I figure a shot in the dark couldn't hurt.
Are using Web Services (SOAP) to do this ?
Gavin
Here is the function call in my assembly:
Here is my coldfusion code:
<cfdump var="#DSP.Router("#VARIABLES.INPUTXMLSTRING#", "SERVERNAME", "APPNAME", "APPUSERID", "USERIDPASSWORD")#" />
I'm just attempting a strait dump right now. The issue is that I'm passing in strXML by reference and either coldfusion or .net is choking on it. I get the response that I want back from the other values, the ones passed by value, but strXML doesn't want to kick. (Or do anything for that matter).
I passed this along to super-human-dot-net-man at my office here, so hopefully when he gets a chance he might be able to make sense of it. I was just wondering if anybody here was having any issue passing by reference with a set up like this.
Well you are passing it by value actually as far as the ColdFusion goes. Have you tried this?
You don't need quotes everywhere.
Hey all,
I'm having a problem with Coldfusion 8 calling a .NET assembly. Everything is ok when I access a method where I'm passing an object in by value, but when I .NET needed a value by reference, things get a screwy on me. Has anybody been able to get Coldfusion 8 to work well with .NET? I'd love to compare note with someone.
I know that this forum doesn't seem to be too populated with Coldfusion guys, but I figure a shot in the dark couldn't hurt.
I'm Not Allowed On The Couch