OK,

This is an odd one - I have a web service call which works a treat, but I am
now getting to the error trapping / logging parts.  I want to use onError
from within my Application.cfc, so I went into my remote method and changed
the following working line:

<cfset novaRequest =
application.Response.init(XmlParse(arguments.novaRequest))>

To 

<cfset novaRequest =
application.Responsex.init(XmlParse(arguments.novaRequest))>

Now, this is erroring as expected but what it seems to be doing is never
triggering the onError method of the Application.cfc.  Then only time I can
get it to trigger is when I explicitly invoking the method directly. I know
it is not being called as I have placed a cflog call in the method which
never writes to he log dir. - the onRequestStart and OnRequestEnd methods
*DO* log....?

I know Application.cfc is firing as, as you can see above I am referencing
application level objects....

What the hell is going on? Why did my enforced error not get thrown to
onError?!

This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant,
Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions.
Visit our website at http://www.reedexpo.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:247039
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to