Donnie,

You need to make sure that the java class is in a directory that CF knows 
about. Add the path in the CF Administrator (Java/JVM - Classpath). Once you do 
this (and restart) then you should be able to get to the class without any 
problems.

-Drew Nathanson
Technical Synergy, Inc.

> Thanks Scott.  I did dump the variable and the functions parameters 
> are looking for things like com.netsuite.webservices.platform.
> core_2010_1.Passport.  When I createObject("java", "com.netsuite.
> webservices.platform.core_2010_1.Passport"), that's when I get the 
> "class can not be found error".
> 
> >Donnie,
> >
> >When you instantiate the webservice ie: <cfset nsws =
> >CreateObject("webservice",
> >"https://webservices.netsuite.com/wsdl/v2010_1_0/netsuite.wsdl";)>
> >
> >you should be able to access the methods via <cfset nsws.
> functionName()>
> >
> >the first thing I would do is dump the variable that you used to
> >instantiate, that will show you what's available to you:
> >
> ><cfset nsws = CreateObject("webservice",
> >"https://webservices.netsuite.com/wsdl/v2010_1_0/netsuite.wsdl";)>
> >
> ><cfdump var="#nsws#">
> >
> >
> >> 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338241
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to