Jeff did u ever solve this?

On Wednesday, April 30, 2008 at 2:05:38 PM UTC-4, jeff w wrote:
>
> Has anyone developed a Coldfusion Application with the Java library? I 
> know a Coldfusion library has been released, but I'd still like to 
> play with the Java Library before I commit to the Coldfusion Library. 
>
> I am struggling to figure out how to use java classes in CF, so I'm 
> starting out simple, trying to call getClientAccounts. I can 
> instantiate the user object no problem: 
>
> <cfset packagepath = "com.google.api.adwords.lib."> 
> <cfset objUser = createObject("java", 
> "#packagepath#AdWordsUser").init(ExpandPath("adwords.properties"))> 
>
> I start getting into trouble next when I try to get the service to use 
> for the AccountServiceSoapBindingStub. l am trying to access 
> objUser.ACCOUNT_SERVICE so I can use that variable when calling 
> objUser.getService(). 
>
> <cfset serviceID = objUser.ACCOUNT_SERVICE> 
>
> The above line of code generates this error: Class 
> coldfusion.runtime.StructBean can not access a member of class 
> com.google.api.adwords.lib.BaseCredentials with modifiers "public 
> static final" 
>
> I can't make sense of this error, so I don't know where to begin 
> troubleshooting. I'm hoping that I am just not understanding 
> (conceptually) the relationship between the Java classes and 
> Coldfusion, and that once I wrap my head around whats going on, 
> everything else will be cake. Obviously, if I can't understand whats 
> going on, I'll use the new CF library. But, I'd like to exhaust all 
> other avenues before i make that decision. 
>
> Thanks Much!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a3fa95c8-fa75-46b8-8a59-45b03ce89643%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to