My favorites | Sign in
Project Logo
                
Details: Show all Hide all

Last 7 days

  • Dec 27, 2009
    r37 (Making license GPL/MIT) committed by WestonRuter   -   Making license GPL/MIT
    Making license GPL/MIT

Last 30 days

  • Dec 23, 2009
    DocumentationForJavaScript (Implementation details and usage documentation for JavaScrip...) Wiki page commented on by markcarrier   -   I had to change some of the javascript to get it to work. rpc.js,Line 422-4,revision 36 {{{ //Handle errors returned by the server if(response.error !== undefined){ var err = new Error(response.error.message); }}} became {{{ //Handle errors returned by the server if(response.error && response.error !== undefined){ var err = new Error(response.error.message); }}} Otherwise it detected an error every time and would die trying to retrieve the message. Now it only reports an error if there is one.
    I had to change some of the javascript to get it to work. rpc.js,Line 422-4,revision 36 {{{ //Handle errors returned by the server if(response.error !== undefined){ var err = new Error(response.error.message); }}} became {{{ //Handle errors returned by the server if(response.error && response.error !== undefined){ var err = new Error(response.error.message); }}} Otherwise it detected an error every time and would die trying to retrieve the message. Now it only reports an error if there is one.
  • Dec 07, 2009
    DocumentationForJavaScript (Implementation details and usage documentation for JavaScrip...) Wiki page commented on by kg.moud   -   Hi all, Is there a way to set wether the client call should use GET or POST ? thanks in advance Regards
    Hi all, Is there a way to set wether the client call should use GET or POST ? thanks in advance Regards

Older

  • Oct 09, 2009
    DocumentationForJavaScript (Implementation details and usage documentation for JavaScrip...) Wiki page commented on by mtthwk...@gmail.com   -   Thanks. This is a great simple introduction to creating a JSON XML RPC service in PHP
    Thanks. This is a great simple introduction to creating a JSON XML RPC service in PHP
  • Aug 15, 2009
    issue 10 (GPL license for a library severely limits usage compared to ...) reported by laterality   -   The choice of license is naturally up to the developer, but many open source developers want to maximize the potential for reuse. I work on both closed- and open-source projects, and I prefer to learn, use and contribute to the technologies that I can use on both.
    The choice of license is naturally up to the developer, but many open source developers want to maximize the potential for reuse. I work on both closed- and open-source projects, and I prefer to learn, use and contribute to the technologies that I can use on both.
  • Jul 16, 2009
    issue 9 (Catch an exception when the service is down) commented on by DutchCoder   -   I kinda fixed the issue with the attached code that replaces rpc.ServiceProxy.prototype.__evalJSON. If anybody has a better idea, I'ld love to here it.
    I kinda fixed the issue with the attached code that replaces rpc.ServiceProxy.prototype.__evalJSON. If anybody has a better idea, I'ld love to here it.
  • Jul 16, 2009
    issue 9 (Catch an exception when the service is down) reported by DutchCoder   -   An html error page will attempt to be parsed as JSON and will throw a new SyntaxError [Exception... "'SyntaxError: Badly formed JSON string: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>503 Service Temporarily Unavailable</title> </head><body> <h1> What steps will reproduce the problem? 1. Turn off the service that you are calling (the server will respond with 404, 503 or something else and a bit of html ) What is the expected output? What do you see instead? I would have liked to see on of my handlers handeling the failure/exception/error. That way I can prevent browser messages and let my script take the actions I see fit for the situation. What version of the product are you using? On what operating system? Version: 0.8.0.2 (2007-12-06), I have tested on Ubuntu FF, XP IE7 and XP IE8 clients.
    An html error page will attempt to be parsed as JSON and will throw a new SyntaxError [Exception... "'SyntaxError: Badly formed JSON string: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>503 Service Temporarily Unavailable</title> </head><body> <h1> What steps will reproduce the problem? 1. Turn off the service that you are calling (the server will respond with 404, 503 or something else and a bit of html ) What is the expected output? What do you see instead? I would have liked to see on of my handlers handeling the failure/exception/error. That way I can prevent browser messages and let my script take the actions I see fit for the situation. What version of the product are you using? On what operating system? Version: 0.8.0.2 (2007-12-06), I have tested on Ubuntu FF, XP IE7 and XP IE8 clients.
  • Jul 10, 2009
    issue 8 (xml-rpc methodresponse with one boolean value error) reported by arcanasupport   -   What steps will reproduce the problem? 1. use json-xml-rpc to call a method that has one boolean value returned in the response document. 2. The method returns false 3. If the above steps are true, you receive the exception: "Malformed XML- RPC methodResponse document." What is the expected output? What do you see instead? I would expect the response to be accepted. Instead the following code fails to properly interpret a case where response.result == false. if(!response.result && !response.error) throw Error("Malformed XML-RPC methodResponse document."); What version of the product are you using? On what operating system? 0.8.0.2 released 2007-12-06. Please provide any additional information below. the !response.result will be true if response.result were not defined (which is the intended purpose of the statement), but also when a valid response was returned that is the value of false. Therefore the condition is errantly passed and the exception is thrown.
    What steps will reproduce the problem? 1. use json-xml-rpc to call a method that has one boolean value returned in the response document. 2. The method returns false 3. If the above steps are true, you receive the exception: "Malformed XML- RPC methodResponse document." What is the expected output? What do you see instead? I would expect the response to be accepted. Instead the following code fails to properly interpret a case where response.result == false. if(!response.result && !response.error) throw Error("Malformed XML-RPC methodResponse document."); What version of the product are you using? On what operating system? 0.8.0.2 released 2007-12-06. Please provide any additional information below. the !response.result will be true if response.result were not defined (which is the intended purpose of the statement), but also when a valid response was returned that is the value of false. Therefore the condition is errantly passed and the exception is thrown.
 
Hosted by Google Code