Re: fedex rates
You could also try this CFC... http://code.google.com/p/cffedexrates/. I've tested it as of last night, and it works fine. Matthew Williams Geodesic GraFX www.geodesicgrafx.com/blog Chad Gray wrote: > I am using some code I got from this web site (not sure who the author is) to > tap into FedEx's rate API. > http://cfsearching.blogspot.com/2007/12/how-heck-do-you-use-fedex-rate-web.html > > > > If I try to put a CF variable in the second line below it errors out. If I > put a 1 or 2 in there statically it works fine. The list has one entry in it > so the list is fine. > > "org.apache.axis.types.NonNegativeInteger") /> > > objNonNegInteger.init("#listLen(attributes.PkgWeights)#")> > > > Here is the error: > Unable to find a constructor for class > org.apache.axis.types.NonNegativeInteger that accepts parameters of type ( > java.lang.Integer ). > > > Is CF processing the objNonNegInteger function before it processes the > ListLen() function? > > > > ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324345 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: fedex rates
DOH... needed JavaCast(). Nevermind. > -Original Message- > From: Chad Gray [mailto:cg...@careyweb.com] > Sent: Tuesday, June 30, 2009 4:40 PM > To: cf-talk > Subject: fedex rates > > > I am using some code I got from this web site (not sure who the author is) > to tap into FedEx's rate API. > http://cfsearching.blogspot.com/2007/12/how-heck-do-you-use-fedex-rate- > web.html > > > If I try to put a CF variable in the second line below it errors out. If > I put a 1 or 2 in there statically it works fine. The list has one entry > in it so the list is fine. > > "org.apache.axis.types.NonNegativeInteger") /> > > objNonNegInteger.init("#listLen(attributes.PkgWeights)#")> > > > Here is the error: > Unable to find a constructor for class > org.apache.axis.types.NonNegativeInteger that accepts parameters of type ( > java.lang.Integer ). > > > Is CF processing the objNonNegInteger function before it processes the > ListLen() function? > > > > ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324093 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: fedex rates
> Unable to find a constructor for class org.apache.axis.types. > NonNegativeInteger that accepts parameters of type ( java.lang.Integer > ). NonNegativeInteger is expecting a string (ie java.lang.String). Apparently listLen(..) returns a java.lang.Integer: ListLen() object type = #listLen(attributes.PkgWeights).getClass().name# So you must convert that value to a "string" first: ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324092 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
fedex rates
I am using some code I got from this web site (not sure who the author is) to tap into FedEx's rate API. http://cfsearching.blogspot.com/2007/12/how-heck-do-you-use-fedex-rate-web.html If I try to put a CF variable in the second line below it errors out. If I put a 1 or 2 in there statically it works fine. The list has one entry in it so the list is fine. Here is the error: Unable to find a constructor for class org.apache.axis.types.NonNegativeInteger that accepts parameters of type ( java.lang.Integer ). Is CF processing the objNonNegInteger function before it processes the ListLen() function? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324091 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: FedEx Rates
If there is a .NET example, you should be able to glean enough information from it to write your own code. -Original Message- From: Chad Gray [mailto:cg...@careyweb.com] Sent: Thursday, June 25, 2009 11:38 AM To: cf-talk Subject: FedEx Rates I am having a hard time finding example code for FedEx rate web service. They have example code on their web site for everything but CF. I checked RIAForge and could not find a project. Anyone have example code? I am reading through the docs and I cant even find the URL to hit the web service. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323970 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
FedEx Rates
I am having a hard time finding example code for FedEx rate web service. They have example code on their web site for everything but CF. I checked RIAForge and could not find a project. Anyone have example code? I am reading through the docs and I cant even find the URL to hit the web service. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323936 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4