type java.lang.Boolean always false! WSAS 3.1.2

nunoachenriques.gmail.com's picture
Greetings, I have a method with input as (Integer, String, Boolean) instead of (int, String, boolean) because I need the "null" value to be in the function logic. WSAS 3.1.2 "Try it" have this annoying (bug?) behaviour: 1. Understands the "null" for the Integer but not for the Boolean. Suggestion: "Try it" should generate a second check box named "null" or a pull-down menu with {true, false, null}. 2. "Try it" Boolean check box with "true" (checked) returns "false". Is this a bug? Or a missing feature? Note: despite these critical bugs/missing, WSO2 has done a great job with this fine piece of software. Thanks! :-) Nuno Henriques
nunoachenriques.gmail.com's picture

UPDATE: I've tested without

UPDATE: I've tested without the AJAX interface, using HTTP GET[1] and the result was the expected. So I'm sure it's an interface bug and not a server core lib bug. [1] http://{host_name}/services/{class_name}HttpEndpoint/{method_name}?{integer_param}=1      http://{host_name}/services/{class_name}HttpEndpoint/{method_name}?{integer_param}=1&{boolean_param}=TRUE      http://{host_name}/services/{class_name}HttpEndpoint/{method_name}?{integer_param}=1&{boolean_param}=FALSE I really like using that neat interface. I'm looking forward the new correcting release... :-)
library project main code
Learn Cloud
Learn
Cloud

The WSO2 Application Server is a reliable application server that can host your enterprise web applications. The WSO2 Application Server as a Service is offered in StratosLive, the WSO2 Platform as a Service. This article explains how a simple web application can be developed and deployed from Carbon Studio to the WSO2 Application Server...

Latest Webinar
Different groups within an organization need to monitor different Key Performance Indicators (KPIs) - An operations team will be interested in the response times of business services and loads of each service,..
Thursday, February 9th 2012, 09.00 AM (PST)

Thursday, February 9th 2012, 10.00 AM (GMT)