Beau Scott wrote:
A colleague was able to make a reallllllly dirt workaround in modifying the
actual XML of the request to include the nil property, but come on... there
has to be an easier method
// Null param working, but very cumbersome
$cl->getCatgories (new SoapVar('<ns1:parentId xsi:nil="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; />', XSD_ANYXML), "1")

This is one of the fun things about strongly typed languages. We recently had to modify our WSDL to allow Java clients to use our web service. Java clients are very picky about types. If the WSDL says string, it will be string regardless of what you send.

--
Scott Mattocks
Author: Pro PHP-GTK
http://www.crisscott.com

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to