RE: CFC Problem

2003-09-11 Thread Chris Alvarado
Raymond,

Thanks for your help.

I ended up calling the component a different way and it works. Im not
sure if I stumbled on a bug or if I was doing something incorrectly.

What I ended up doing was creating the object like normal:



Then using cfinvoke to call the method. 



I think maybe what was happening is that calling the method as
obj.method(args) didn't like receiving empty values as "" or something
along those lines.

Thanks again for your help,

-chris.alvarado 
[ application developer ] 
4 Guys Interactive, Inc. 
http://www.4guys.com 
phone: 281.807.4344 x1716 
fax: 281.807.4384



> -Original Message-
> From: Raymond Camden [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, September 11, 2003 3:09 PM
> To: CF-Talk
> Subject: RE: CFC Problem
> 
> 
> Nope, there shouldn't be a limit. Line 31 was the partner line in the
> cfx call, right? If you ONLY output the args and comment out the cfx
> call, does the method call work?
> 
> ==
> ==
> ===
> Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
> (www.mindseye.com)
> Member of Team Macromedia 
> (http://www.macromedia.com/go/teammacromedia)
> 
> Email: 
> [EMAIL PROTECTED]
> Blog : www.camdenfamily.com/morpheus/blog
> Yahoo IM : morpheus
> 
> "My ally is the Force, and a powerful ally it is." - Yoda 
> 
> > -Original Message-
> > From: Chris Alvarado [mailto:[EMAIL PROTECTED] 
> > Sent: Thursday, September 11, 2003 1:54 PM
> > To: CF-Talk
> > Subject: RE: CFC Problem
> > 
> > 
> > Did that, everything is coming through as expected.
> > 
> > Is there a limit to the number of arguments you can have for 
> > a given method?
> > 
> > Maybe the exceptions portion of the debugging would help:
> > 
> 
> 
> 
~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


RE: CFC Problem

2003-09-11 Thread Raymond Camden
Nope, there shouldn't be a limit. Line 31 was the partner line in the
cfx call, right? If you ONLY output the args and comment out the cfx
call, does the method call work?


===
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
(www.mindseye.com)
Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email: [EMAIL PROTECTED]
Blog : www.camdenfamily.com/morpheus/blog
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda 

> -Original Message-
> From: Chris Alvarado [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, September 11, 2003 1:54 PM
> To: CF-Talk
> Subject: RE: CFC Problem
> 
> 
> Did that, everything is coming through as expected.
> 
> Is there a limit to the number of arguments you can have for 
> a given method?
> 
> Maybe the exceptions portion of the debugging would help:
> 


~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


RE: CFC Problem

2003-09-11 Thread Chris Alvarado
Did that, everything is coming through as expected.

Is there a limit to the number of arguments you can have for a given
method?

Maybe the exceptions portion of the debugging would help:

Exceptions

14:46:37.037 - java.lang.NumberFormatException - in
E:\Data\Published\wwwroot\developmentmx\verisignCFC\processPayment.cfc :
line 31
For input string: ""

Im stumped myself.

Thanks for any and all help,


-chris.alvarado 
[ application developer ] 
4 Guys Interactive, Inc. 
http://www.4guys.com 
phone: 281.807.4344 x1716 
fax: 281.807.4384



> -Original Message-
> From: Raymond Camden [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, September 11, 2003 2:13 PM
> To: CF-Talk
> Subject: RE: CFC Problem
> 
> 
> You have a lot of arguments there - you may want to try debugging.
> Before calling the cfx, output each value, and make sure it 
> is what you
> think it is. Ie
> 
> 
> parter was passed as #arguments.partner#
> 
> 
> I'd also add arguments. before the use of arguments - to be anal and
> 100% safe.
> 
> ==
> ==
> ===
> Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
> (www.mindseye.com)
> Member of Team Macromedia 
> (http://www.macromedia.com/go/teammacromedia)
> 
> Email: 
> [EMAIL PROTECTED]
> Blog : www.camdenfamily.com/morpheus/blog
> Yahoo IM : morpheus
> 
> "My ally is the Force, and a powerful ally it is." - Yoda 
> 
> > -Original Message-----
> > From: Chris Alvarado [mailto:[EMAIL PROTECTED] 
> > Sent: Thursday, September 11, 2003 1:03 PM
> > To: CF-Talk
> > Subject: RE: CFC Problem
> > 
> > 
> > Absolutely,
> > 
> > Here is the code for the method causing the problem
> > 
> > 
> > 
> >  > output="true" returntype="query" hint="Process Credit Card 
> > (charge) using verisign.">
> > 
> 
> 
> 
~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


RE: CFC Problem

2003-09-11 Thread Raymond Camden
You have a lot of arguments there - you may want to try debugging.
Before calling the cfx, output each value, and make sure it is what you
think it is. Ie


parter was passed as #arguments.partner#


I'd also add arguments. before the use of arguments - to be anal and
100% safe.


===
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
(www.mindseye.com)
Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email: [EMAIL PROTECTED]
Blog : www.camdenfamily.com/morpheus/blog
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda 

> -Original Message-
> From: Chris Alvarado [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, September 11, 2003 1:03 PM
> To: CF-Talk
> Subject: RE: CFC Problem
> 
> 
> Absolutely,
> 
> Here is the code for the method causing the problem
> 
> 
>   
>output="true" returntype="query" hint="Process Credit Card 
> (charge) using verisign.">
>   


~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


RE: CFC Problem

2003-09-11 Thread Chris Alvarado
Absolutely,

Here is the code for the method causing the problem































AND here is the call,
















Fairly straight forward unless im missing something. 

Thanks for the help!

-chris.alvarado 
[ application developer ] 
4 Guys Interactive, Inc. 
http://www.4guys.com 
phone: 281.807.4344 x1716 
fax: 281.807.4384



> -Original Message-
> From: Raymond Camden [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, September 11, 2003 12:40 PM
> To: CF-Talk
> Subject: RE: CFC Problem
> 
> 
> Can you show us both the call and the code to processPayment? 
> (I mean th
> emethod in question).
> 
> ==
> ==
> ===
> Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
> (www.mindseye.com)
> Member of Team Macromedia 
> (http://www.macromedia.com/go/teammacromedia)
> 
> Email: [EMAIL PROTECTED]
> Blog : www.camdenfamily.com/morpheus/blog
> Yahoo IM : morpheus
> 
> "My ally is the Force, and a powerful ally it is." - Yoda 
> 
> > -Original Message-
> > From: Chris Alvarado [mailto:[EMAIL PROTECTED] 
> > Sent: Thursday, September 11, 2003 11:09 AM
> > To: CF-Talk
> > Subject: CFC Problem
> > 
> > 
> > I have built this CFC to invoke the Verisign Payflow Pro tag 
> > and I am getting a strange error.
> >  
> > Error Occurred While Processing Request 
> > 
> > 
> > 
> > For input string: "" 
> > 
> > 
> > 
> > The error occurred in
> > E:\Data\Published\wwwroot\developmentmx\verisignCFC\processPay
> > ment.cfc:
> > line 31
> > 
> > 
> > 29 :trxtype = "#trxtype#"
> > 
> > 30 :tender = "#tender#"
> > 
> > 31 :partner = "#partner#"
> > 
> > 32 :user = "#user#"
> > 
> > 33 :pwd = "#pwd#"
> >  
> > the variable "partner" is defined, and a value is specified. 
> > I am assuming that is what this error means (that it cant 
> > evaluate the variable or something of the like) since the 
> > actual error message is very non-descript.
> >  
> > anyone have any ideas?
> >  
> > 
> > -chris.alvarado 
> > [ application developer ] 
> > 4 Guys Interactive, Inc. 
> > http://www.4guys.com <http://www.4guys.com/>  
> > phone: 281.807.4344 x1716 
> > fax: 281.807.4384
> > 
> >  
> > 
> > 
> 
~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


RE: CFC Problem

2003-09-11 Thread Raymond Camden
Can you show us both the call and the code to processPayment? (I mean th
emethod in question).


===
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
(www.mindseye.com)
Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email: [EMAIL PROTECTED]
Blog : www.camdenfamily.com/morpheus/blog
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda 

> -Original Message-
> From: Chris Alvarado [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, September 11, 2003 11:09 AM
> To: CF-Talk
> Subject: CFC Problem
> 
> 
> I have built this CFC to invoke the Verisign Payflow Pro tag 
> and I am getting a strange error.
>  
> Error Occurred While Processing Request   
> 
> 
> 
> For input string: "" 
> 
>   
>   
> The error occurred in
> E:\Data\Published\wwwroot\developmentmx\verisignCFC\processPay
> ment.cfc:
> line 31
>   
> 
> 29 :  trxtype = "#trxtype#"
> 
> 30 :  tender = "#tender#"
> 
> 31 :  partner = "#partner#"
> 
> 32 :  user = "#user#"
> 
> 33 :  pwd = "#pwd#"
>  
> the variable "partner" is defined, and a value is specified. 
> I am assuming that is what this error means (that it cant 
> evaluate the variable or something of the like) since the 
> actual error message is very non-descript.
>  
> anyone have any ideas?
>  
> 
> -chris.alvarado 
> [ application developer ] 
> 4 Guys Interactive, Inc. 
> http://www.4guys.com   
> phone: 281.807.4344 x1716 
> fax: 281.807.4384
> 
>  
> 
> 
~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm