On Thu, 24 Feb 2005 23:49:28 -0500, Dan Plesse <[EMAIL PROTECTED]> wrote:
> Thanks for the quick reply Rob,
> 
> But every time I look at neuromancer, I can't seem to understand how to get
> started.
> 
> I was wondering if you could just call a web service with just two lines of
> code? Like so ...
> 
> req = new XMLHttpRequest();
> req.open("POST", "http://dan:8500/myCFC/cgitest.cfc",true, "", "");
> 
> But I get the component browser page, which is strange.
> 
> The neuromancer thing looks like overkill and it's lacking instructions on
> how to use it.
> 
> I have done this so far
> 
> roFactory.createObject(httpcon,"http://dan:8500/myCFC/cgitest.cfc";);
> robject = roFactory.getObject();
> 
> neuro_Reflect(robject);
> 
> When I try to use reflect assume the return was ok or 200 it gives me just
> "Object" or a bad reflection.
> 
> A quick primer would be helpful.
> 

I can't help you on the Neuromancer side of things, as I've not used
it, but you're createObject call isn't correct. If you call a CFC
directly like you did, you will always get the Component Browser. You
need to append a "?method=myMethodName" onto the end of the URL. Maybe
that will get you a bit further?

Regards,
Dave.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196521
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to