There is no type casting of method's args while testing it in Service Browser. For example, if argument defined as 'int' type, it will pass as 'string' to the method (as default for textfield for form submission).

If there are few args (all optional), then omitted one before any given arg will become empty 'string' as well, regardless of their actual type. That which are omitted after any provided arg will remain null as expected.

Comments

Hugo Wetterberg’s picture

Assigned: Unassigned » Hugo Wetterberg
Status: Active » Closed (works as designed)

This shouldn't be a problem as PHP can use $v = "23" & $v = 23 interchangeably. I've tested some of the services that take int params in the browser, and they seem to work just fine.