Now that I have learned how to spell!
 
The remote cfc is being created but  this error is being reported
 
09:21:09.009 - coldspring.beanDefException - in
E:\Webdoc\coldspring\beans\BeanDefinition.cfc : line 168
            property requested does not exist for bean:
remoteSpecimenObj 
The number of these error messages matches the number of functions in
the created
remote cfc
 
David Farr
U.S. Dept. Agriculture, Agricultural Research Service
Systematic Botany and Mycology Laboratory
[EMAIL PROTECTED]
Voice: 301-504-5274
http://nt.ars-grin.gov/
 

________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris Scott
Sent: Wednesday, May 16, 2007 7:53 AM
To: [email protected]
Subject: [coldspring-dev] Remote proxy - need help


Yo David, 

You misspelled 'serviceName' as 'servicName' in your RemoteFactoryBean.

Chris

Chris Scott
[EMAIL PROTECTED]
http://cdscott.blogspot.com/
http://www.coldspringframework.org/


 






On May 15, 2007, at 10:10 AM, Farr, David wrote:


        I seem to be missing a important concept here. 

        Here is my cml file 

        <cfsetting showdebugoutput="true">
        <cfset serviceDefinitionLocation =
("e:/webdoc/FungalDatabasesFlex/Specimen/XML/remotexml.xml")>
        <cfset myBeanFactory =
createObject("component","coldspring.beans.defaultxmlBeanFactory").init(
)/>
        <cfset
myBeanFactory.loadBeansFromXmlFile(serviceDefinitionLocation,true)>
        <cfset myStuff = myBeanFactory.getBean("remoteSpecimenObj")> 

        
        Generates this error:
        The method 'setservicName' could not be found in component
E:\Webdoc\coldspring\aop\framework\RemoteFactoryBean.cfc. 

        This is the remotexml file 

        <?xml version="1.0" encoding="UTF-8"?>
        <beans> 

        
            <bean id="remoteSpecimenObj"
class="coldspring.aop.framework.RemoteFactoryBean">
                <property name="target">
                    <ref bean="specimenObj" />
                </property>
                <property name="remoteMethodNames">
                    <value>*</value>
                </property>
                <property name="servicName">
                    <value>remoteSpecimenObj</value>
                </property>
                <property name="absolutePath">
        
<value>e:/webdoc/fungaldatabasesflex/specimen/cfc/</value>
                </property>
            </bean> 

        
        <bean id="specimenObj"
class="fungaldatabasesFlex.Specimen.Service.specimenObj">
            <constructor-arg name="tblSciNameGateway">
                <ref bean="tblSciNameGateway"/>
            </constructor-arg>
            <constructor-arg name="tblHostNameGateWay">
                <ref bean="tblHostNameGateway"/>
            </constructor-arg>
            <constructor-arg name="tblSpecimenGateWay">
                <ref bean="tblSpecimenGateWay"/>
            </constructor-arg>
            <constructor-arg name="tblStateNameGateWay">
                <ref bean="tblStateNameGateWay"/>
            </constructor-arg> 
        </bean> 

        
        <bean id="dataSources"
class="fungaldatabasesFlex.AllAps.CFC.dataSources">
            <property name="dsn"><value>${dsn}</value></property>
        </bean>
        <bean id="tblSciNameGateWay"
class="fungaldatabasesFlex.FungusName.CFC.tblSciNameGateway" />
        <bean id="tblHostNameGateway"
class="fungaldatabasesFlex.HostName.CFC.tblHostNameGateway" />
        <bean id="tblStateNameGateway"
class="fungaldatabasesFlex.StateName.CFC.tblStateNameGateway" />
        <bean id="tblSpecimenGateWay"
class="fungaldatabasesFlex.Specimen.CFC.tblSpecimenGateWay" >
            <property name="dataSources">
                <ref bean="dataSources"/>
               </property>
            </bean>

        
        </beans> <mailto:[email protected]> 


        Thanks, 

        David Farr

        U.S. Dept. Agriculture, Agricultural Research Service
        Systematic Botany and Mycology Laboratory
        [EMAIL PROTECTED]
        Voice: 301-504-5274
        http://nt.ars-grin.gov/
         


<<TeamFusionD.gif>>

Reply via email to