The Zurich release has arrived! Interested in new features and functionalities? Click here for more

XML/AJAX request error ?

xif1
Mega Expert

Hello Everyone,

 

I've a little problem on my dublin instance (It works perfectly on caligary...)

I use a client script, for retrieve some values, and a script include for handle them.

basicaly like that in my client script for send param:

var ga = new GlideAjax('GTB_convert_currency'); //ajax request
ga.addParam('sysparm_name','gtb_convert_currency');
ga.addParam('empty_field', newValue); 
ga.getXML(HelloWorldParse); 

 

and like below for retrieve answer :

 

var answer = response.responseXML.documentElement.getAttribute("answer"); 

 

My script doesn't works, and i've those lines in my error logs :

 

 

 

CreatedLevelMessageSource
2014-10-06 14:52:38ErrorHTTP Processor class not found: com.glide.processors.xmlhttp.GTB_convert_currency: no thrown errorcom.glide.ui.ServletErrorListener
2014-10-06 14:52:38ErrorClassUtil - class not found: com.glide.processors.xmlhttp.GTB_convert_currency: no thrown errorcom.glide.ui.ServletErrorListener

 

 

 

I don't know why, cause my script include use a good call :

var GTB_convert_currency = Class.create();
GTB_convert_currency.prototype = Object.extendsObject(AbstractAjaxProcessor, {
 gtb_convert_currency: function() 

 

Thank's in advance for your anwser !

1 ACCEPTED SOLUTION

kevin_sherman
Giga Contributor

Hey Romain,


What's the name of the script include? It should be identical to what you put for GlideAjax's argument.


View solution in original post

2 REPLIES 2

kevin_sherman
Giga Contributor

Hey Romain,


What's the name of the script include? It should be identical to what you put for GlideAjax's argument.


I've totaly forgot this step, thanks a lot Kevin, it works perfectly