Josh,
I hope you're not running CFMX. A little forewarning though, we
established last week that COM is dead. So everything you are trying to
do is wrong. (please ignore my saracasm)
Ok, first off you should be loading the COM object via cfobject
cfobject type=com action=connect
Joshua,
I think this will work,
cfobject type=com action=Connect class=NextPage.NPOptions
name=anObject
cfset myMethod=anObject.Item(title)
cfset myMethod=Title
Or With CFScript
cfscript
anObject=CreateObject(Com,NextPage.NPOptions)'
myMethod=anObject.Item(title);
Coms not dead yet as you say theres too many older applications using it,
but the way forward is webservices, which is basically a newer version of
Com without the all the hassles.
With reagrd the problem try
myMethod = myObject.item(title);
myMethod = title;
Jason Lees
Systems Developer
To: CF-Talk
Subject: RE: CFOBJECT and conversion from ASP
Coms not dead yet as you say theres too many older applications using
it,
but the way forward is webservices, which is basically a newer version
of
Com without the all the hassles.
With reagrd the problem try
myMethod = myObject.item(title
that.
-From the desk of Joshua O'Connor-Rose
(aka Whifflebat)
-All is Good
From: Adrocknaphobia Jones [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Subject: RE: CFOBJECT and conversion from ASP
Date: Tue, 12 Nov 2002 13:18:17 -0500
Well, I'll agree with you halfway. COM
I learn about that.
-From the desk of Joshua O'Connor-Rose
(aka Whifflebat)
-All is Good
From: Adrocknaphobia Jones [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Subject: RE: CFOBJECT and conversion from ASP
Date: Tue, 12 Nov 2002 13:18:17 -0500
Well
information/detail
/soap:Fault
/soap:Body
/soap:Envelope
-Original Message-
From: [EMAIL PROTECTED] [mailto:ksuh;shaw.ca]
Sent: Tuesday, November 12, 2002 10:41 AM
To: CF-Talk
Subject: Re: RE: CFOBJECT and conversion from ASP
Yes, you can.
However, using a web service via something
: Rob Rohan [mailto:rob;cardinalweb.com]
Sent: Tuesday, November 12, 2002 12:58 PM
To: CF-Talk
Subject: RE: RE: CFOBJECT and conversion from ASP
If you want to try, a soap packet looks like this:
?xml version=1.0?
!--
A SOAP message MUST be encoded using XML
A SOAP message MUST have a SOAP Envelope
Good point.
Pretty easy to do in Java, perhaps it would be easy to do with java+mx -
never tried.
-Original Message-
From: Mark A. Kruger - CFG [mailto:mkruger;cfwebtools.com]
Sent: Tuesday, November 12, 2002 11:08 AM
To: CF-Talk
Subject: RE: RE: CFOBJECT and conversion from ASP
Rob
-
From: Joshua O'Connor-Rose [mailto:whifflebat;hotmail.com]
Sent: Tuesday, November 12, 2002 1:27 PM
To: CF-Talk
Subject: RE: CFOBJECT and conversion from ASP
I'm using ColdFusion 5
I've heard of these web service things in seminars and meetings
discussing
net and other development
: CFOBJECT and conversion from ASP
Good point.
Pretty easy to do in Java, perhaps it would be easy to do with
java+mx -
never tried.
-Original Message-
From: Mark A. Kruger - CFG [mailto:mkruger;cfwebtools.com]
Sent: Tuesday, November 12, 2002 11:08 AM
To: CF-Talk
Subject: RE
of Joshua O'Connor-Rose
(aka Whifflebat)
-All is Good
From: Adrocknaphobia Jones [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Subject: RE: CFOBJECT and conversion from ASP
Date: Tue, 12 Nov 2002 15:57:29 -0500
Josh,
Although SOAP and web services are great, it's
12 matches
Mail list logo