pear/SOAP — pull request #1 by evictor (2012-08-09 09:06:41+00:00)
Title: Added support for XML "nillable" when using SOAP overload extension

Mainly this means that the eval'd class method signatures have arguments with default values of NULL as defined by the WSDL so you can call a method like $Client->[method name]([arg1], [arg2] = NULL) and omit arg2.

Currently this is not possible; if your WSDL specifies an arg to a method as nillable or minCount = 0, the generated PHP method signature code by SOAP_WSDL is such that you must provide all arguments to the method when calling it via overload extension. Also, if you pass NULL for an argument, it will still show up as empty in the generated request XML when really the nillable argument should be omitted entirely (and is with this patch if you leave the argument as NULL).