I'm considering qooxdoo for a project but in my test I am unable to make the RPC function and I can't figure out why it won't work.
I have a page which returns a JSON-RPC response from a post: http://74.143.64.2:5040/Handler1.ashx I try code like: alert("begin rpc"); var rpc = new qx.io.remote.Rpc( "http://74.143.64.2:5040/Handler1.ashx", "TestJayrockRpc.Handler1" ); rpc.setCrossDomain(true); //alert(qx.io.remote.Exchange.getImplementation()); try { alert("calling"); var result = rpc.callSync("WriteFile", '{"Data":"Test Me"}'); alert("called"); alert("Result of sync call: " + result); } catch (exc) { alert("Exception during sync call: " + exc); } alert("end rpc"); All I get is an error: 13673158 qx.io.remote.Exchange[3615-0]: There is no transport implementation available to handle this request: qx.io.remote.Request[3614-0] This tells me that maybe there is something wrong with format being returned by the service. Or maybe the data being sent--but I have no clue what is wrong. I can't find very much information anywhere on how to get qooxdo to talk to a .net service. I also tried the new WebAPI in MVC 4 but since it doesn't appear to be JSON-RPC I guess it won't work. In both cases I have the services themselves running fine and I can send requests via Fiddler2 but I can't get qooxdoo to talk to either service. I can also access the web api using jquery without any problem. I am at my wits end--I don't see anyway to get this to work. I also tried: qx.io.request("http://74.143.64.2:5040/Handler1.ashx","POST","application/json"); but that just dies without event throwing an error. Can anyone point me to a working example of qooxdoo and a .net service? I haven't tried WCF yet because it's even more retarded when it comes to getting the configuration right. I use WCF but I generally have a WCF client. I can't really see myself debugging WCF and a non-WCF client trying to figure out why they aren't talking. All that being said if someone has a working WCF sample I'll take it. -- View this message in context: http://qooxdoo.678.n2.nabble.com/qooxdoo-RPC-tp7580845.html Sent from the qooxdoo mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
