Welcome Guest!
 Tartan Framework
 Previous Message All Messages Next Message 
Re: Extending LocalService  Paul Kenney
 Jan 13, 2006 17:20 PST 
So, is the contact manager working now?

On 1/13/06, Sam Shrefler <sshre-@gmail.com> wrote:
 
Forget it, there was a problem with my configs that caused this problem.



On 1/13/06, Sam Shrefler <sshre-@gmail.com > wrote:
 
In the tartan samples, contactService.cfc in the contacts directry
extends LocalService.

When I use the contactServiceProxy, it then calls invokeLocalService
from LocalServiceProxy which has in it

<cfinvoke component="
tartanSamples.contacts.tartan.services.ContactService"
                 method="#arguments.method#"
                 argumentcollection="#newArgs#"
                 returnvariable="result"/>

This is the point in the code which I'm having a problem.

That cfinvoke is what is giving me a problem. It calls
ContactService.getContactList() which then calls execute which comes
from LocalService.cfc

execute() is throwing an error from this:

<cfif IsObject(variables.serviceContext)>
             <cfreturn variables.serviceContext.executeCommand(arguments.name ,
arguments.data)/>
         <cfelse>
             <cfthrow type="Exception.ServiceContextNotAvailable"/>
         </cfif>

because variables.serviceContect is not an object.

Is this because ContactService is never running init()?

Thanks

Sam


--
Paul Kenney
pa-@pjk.us
pken-@gmail.com
http://www.pjk.us
	
 Previous Message All Messages Next Message 
  Check It Out!

  Topica Channels
 Best of Topica
 Art & Design
 Books, Movies & TV
 Developers
 Food & Drink
 Health & Fitness
 Internet
 Music
 News & Information
 Personal Finance
 Personal Technology
 Small Business
 Software
 Sports
 Travel & Leisure
 Women & Family

  Start Your Own List!
Email lists are great for debating issues or publishing your views.
Start a List Today!

© 2001 Topica Inc. TFMB
Concerned about privacy? Topica is TrustE certified.
See our Privacy Policy.