wddx

Coldfusion jQuery getJSON : Getting WDDX instead of JSON

倾然丶 夕夏残阳落幕 提交于 2020-01-03 08:58:06
问题 I am using Brian Rinaldi's coldfusion function to convert a dotnet webservice dataset into a structure of queries. Each query is then returned to the client page as JSON to be used in a jQuery function. The queries are valid query objects. However, JSON is not being returned. Instead I get WDDX as follows: <wddxPacket version='1.0'> <header /> <data> <recordset rowCount='31' fieldNames='startdate,starttime,subscribercode,dest_number,description,ConnDuration,Callcharge,Usage,ConnType,pages

Coldfusion jQuery getJSON : Getting WDDX instead of JSON

♀尐吖头ヾ 提交于 2020-01-03 08:57:07
问题 I am using Brian Rinaldi's coldfusion function to convert a dotnet webservice dataset into a structure of queries. Each query is then returned to the client page as JSON to be used in a jQuery function. The queries are valid query objects. However, JSON is not being returned. Instead I get WDDX as follows: <wddxPacket version='1.0'> <header /> <data> <recordset rowCount='31' fieldNames='startdate,starttime,subscribercode,dest_number,description,ConnDuration,Callcharge,Usage,ConnType,pages

Coldfusion onCFCRequest Changing Return Type of XML Into WDDX

喜欢而已 提交于 2019-12-22 08:37:48
问题 My customer base is finally off Coldfusion 8 so now I can take advantage of Coldfusion 9's Application.cfc -> onCFCRequest event. I have a test scenario setup and my result is not what I'm expecting. I have a method that I call which produces a valid XML response like so... Response Header: Content-Type:application/xml;charset=UTF-8 Response: <?xml version="1.0" encoding="UTF-8"?> <rows><row id="10000282742505"><cell/><cell> ... Now after I introduce the onCFCRequest event I get this back

Coldfusion onCFCRequest Changing Return Type of XML Into WDDX

为君一笑 提交于 2019-12-05 20:57:44
My customer base is finally off Coldfusion 8 so now I can take advantage of Coldfusion 9's Application.cfc -> onCFCRequest event. I have a test scenario setup and my result is not what I'm expecting. I have a method that I call which produces a valid XML response like so... Response Header: Content-Type:application/xml;charset=UTF-8 Response: <?xml version="1.0" encoding="UTF-8"?> <rows><row id="10000282742505"><cell/><cell> ... Now after I introduce the onCFCRequest event I get this back (which breaks my grids)... Response Header: Content-Type:application/xml;charset=UTF-8 Response: