Hi Joe,
Unfortunately it sounds like (and I don't know much about COM mind
you, so you'll have to forgive any holes in this theory) the method
you're trying to call on that COM object is overloaded and CF doesn't
know how to call it properly. This is the sort of thing that could
theoretically be resolved if it were a Java component with JavaCast()
but unfortunately there is no ComCast() alternative (although that's
the name of our Cable TV company :) ... plus JavaCast() last I knew
only worked for identifying simple data types, so it wouldn't help you
pass another instantiated COM object anyway. The only thing that leaps
to my mind is that you would need to create another COM wrapper with
just the one needed method that could identify and properly call the
Cybersource object method. But then that's all theory on my part -- I
have fixed a COM object when I had the source code, but it's not the
sort of task I'm in a hurry to perform again. So I'm talking through
my hat to some degree about things I really don't know from
experience.
> I am working with Cybersource (such a pain!) and I took
> their ASP code and
> re-wrote it line by line in CF, and I got SO close to
> making it work......They have a COM object
> CyberSourceWS.Client that has a method "RunTransaction"
> that does a credit card transaction. All my calls to
> methods in their other objects were actually calling "get
> properties" as CFDUMP calls them. The only things listed
> under a CFDUMP for the CyberSourceWS.Client object are
> Methods, which I would assume means I can call them using
> myComponentName.Method() or by using CFINVOKE. Neither
> of these methods work; they both produce this error: "
> The
> selected method RunTransaction was not found"
> An interesting item to note is that the ASP code is
> passing in previously
> created components into this method call. When I try that
> it throws this
> error: " An exception occurred when executing a Com
> method.
> The cause of this exception was that:
> AutomationException: 0x8000ffff - ."
> The code for that part is as follows:
> oClient = CreateObject("COM","CyberSourceWS.Client");
> oClient.RunTransaction(merchantConfig, "",
> "",oRequest,varReply,strErrorInfo)
> (where merchantConfig and oRequest are both previously
> created components )
> Any ideas? I've been going crazy over this searching
> google, google groups, and macromedia forums.
> Joe Potenza
> Lead Developer
> Bigbuzz Internet Business Solutions
> [EMAIL PROTECTED]
> http://www.bigbuzz.com
s. isaac dealey 954.927.5117
new epoch : isn't it time for a change?
add features without fixtures with
the onTap open source framework
http://macromedia.breezecentral.com/p49777853/
http://www.sys-con.com/story/?storyid=44477&DE=1
http://www.sys-con.com/story/?storyid=45569&DE=1
http://www.fusiontap.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tracking and documenting hours spent on a project or with a
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:193920
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54