Friday, July 8, 2011

Yes, more adventures using DotNet with ColdFusion

Adventure: Method not found!
When you get the error "method was not found", pause and take off your CF typeless hat and put on the hard typed language hat. The one with the big HTL on it. Even though in CF a number might be a string, the java proxy will convert it to a number. I was trying to set a CF variable holding a number into a dotnet property of type string and kept getting the "method not found". After a javacast to string it worked. The java proxy must have hard typed it to a numeric.

No comments:

Post a Comment