Calling Microsoft .NET 1.1 Object Functions from ColdFusion?

Posted on 2004-11-11
Medium Priority
Last Modified: 2013-12-24
Hello Experts!

Currently we are running a Macromedia Coldfusion MX 6.1 Server.
For the next project update we want to integrate additional data which we can retrieve by calling functions of an Objects/Interface in Microsoft .NET 1.1.

Do we have a chance to call them from ColdFusion?
Maybe using <CFOBJECT>? Or somehow Via HTTP/WebService?
We dont have any experience with the .NET Framework.

We also already found out that probably the new BlueDragon Coldfusion Server .NET (from New Atlanta Communications) will have built-in support for calling .NET Objects but this is still a beta version which cannot be purchased yet, and currently we really would like to keep the Macromedia Coldfusion Server...

Thanks in Advance!

Question by:eclipse2k

Expert Comment

ID: 12557299
might want to read http://www.macromedia.com/devnet/mx/coldfusion/articles/cf_aspnet01.html

i think it is possible tho. but that's an educated guess

Assisted Solution

INSDivision6 earned 150 total points
ID: 12558046
CFHTTP would be the most obvious and reliable option.

Accepted Solution

Jerry_Pang earned 1200 total points
ID: 12562157
For the next project update we want to integrate additional data which we can retrieve by calling functions of an Objects/Interface in Microsoft .NET 1.1.

err... you might want to migrate to microsoft.net ASP.net with C# or VB.net. or with the bluedragon's coldfusion.

BlueDragon for the Microsoft .NET Framework enhances the CFOBJECT tag to allow you to invoke .NET objects written in any supported programming language (C#, VB.NET, COM, etc.). CFX tags can also be written in any .NET programming language

bluedragon is still new, i do not recommend migrating your current projects there.
if its a new project, its your call.
Migrate from Coldfusion6.1 to BlueDragon? i dont think so, its a big risk. if new server.. hmm...  maybe.

however, if you need to use .NET, you need to install .NET framework on your servers.
which means your server can also run ASP.net and other .net Framework.

if you want to stay with coldfusion6.1, that ok too, use java or coldfusion.

i dont think the current coldfusion cfobject can use .net functions. (90%sure)
webservice? yes i think so. build the webservice in .net and use coldfusion6.1 to use this webservice. (99%sure)
webservice should be able to talk to any http via xml.
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.


Author Comment

ID: 12563272

sorry but the URL is not working, i get a 404: http://www.macromedia.com/devnet/mx/coldfusion/articles/cf_aspnet01.html

thanks @Jerry,

Jerry, we dont want to migrate to microsoft .NET so quickly because no one of us really knows any .NET language,
we are ColdFusion programmers. And its not a complete new project, its just an extension to an existing coldfusion project.
(sorry if the words 'the next project update' misguided you)
we know that we could do it in ASP.NET but we would need to lear the language first ;)

the problem with web services is that we would need a solution BETWEEN our existing ColdFusion Project AND the
MS .NET Interfaces. The reason: We dont write the Interfaces by ourself, in fact we are in a kind of customer relation,
we want to access the data we buy, but we dont get raw data, we just get access to their .NET interfaces, which
is currently our problem, and we want to call them without changing big parts of our exsting infrastructure.

LVL 12

Assisted Solution

jyokum earned 150 total points
ID: 12590020
i'm guessing these .net objects have been exposed as web services. you can call them with cfobject/cfinvoke.

if it returns a complexe datatype (i.e. dataset), you'll have to get or write a parser to handle it since it's not the same as a cf recordset.

Author Comment

ID: 12604610
Well that wasnt as much as i expected but it helped me a little bit, though, thanks @all

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
Suggested Courses
Course of the Month16 days, 13 hours left to enroll

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question