Try changing this getBean call from:

<!--- setup coldspring bean factory --->
        <cfset defaultProperties = structNew()/>
        <cfset defaultProperties.dsn = 'mocca'/>
        <cfset application.factory = createObject("component","coldspring.beans.DefaultXmlBeanFactory").init(defaultProperties=defaultProperties)/>
        <cfset application.factory.loadBeansFromXmlFile(expandPath("/mocca/app/config/services.xml"),true)/>
        <cfset application.factory.getBean("contactService_remote") />

to 

<cfset application.factory.getBean("contactServiceRemote") />

However, it's possible that either MG is wiping out the bean factory your are trying to create, or maybe you need to update to the latest BER. 




On Aug 13, 2007, at 1:52 PM, Brian Kotek wrote:

<!--- setup coldspring bean factory --->
        <cfset defaultProperties = structNew()/>
        <cfset defaultProperties.dsn = 'mocca'/>
        <cfset application.factory = createObject("component","coldspring.beans.DefaultXmlBeanFactory").init(defaultProperties=defaultProperties)/>
        <cfset application.factory.loadBeansFromXmlFile(expandPath("/mocca/app/config/services.xml"),true)/>
        <cfset application.factory.getBean("contactService_remote") />

Reply via email to