Thanks pete, I mgiht asdd that anyway, but I managed to fix it. Was pretty simple really, a missing pair of quotes.
response.setVariable( xmlResponse, answer.toString()); Became.. response.setVariable( "xmlResponse", answer.toString()); And bingo etc Craig. -----Original Message----- From: Pete Freitag [mailto:[EMAIL PROTECTED]] Sent: 26 September 2002 16:39 To: CF-Talk Subject: RE: Java custom tag You might get a better error message if you do something like this... try { response.setVariable( xmlResponse, answer.toString()); } catch(Exception e) { response.write(e.getMessage()); } just add that for debugging, then take it out. my guess would be that xmlResponse is not a string, or is null, or is not a valid variable name (has a space in it) or that answer.toString() is null. _____________________________________________ Pete Freitag CTO, CFDEV.COM http://www.cfdev.com/ -----Original Message----- From: Craig Dudley [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 8:16 AM To: CF-Talk Subject: RE: Java custom tag Ok, I've rebooted the server (I had only been retsarting the service between updating the class) It now sends the XML (SMS arrives) but I get the following error, java.lang.UnknownError: Unknown error occurred in Java_com_allaire_cfx_NativeResponse_setVariable. Java exception occurred in call to method. Pretty sure that's this line... response.setVariable( xmlResponse, answer.toString()); I can probably figure it out form there, thanks to everyone who had a look. Craig. ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists