PHP5 SOAP - how to set attribute of node using OO interface

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

If I use $soapclient->__soapCall(...) with data in PHP arrays, resulting
XML uses elements and their contents only.

is in request as

I need
<foo bar="baz">quz</foo>

How can I archieve it using PHP5 SOAP extension? I'm using SOAP in WSDL

(I suspect SoapVar is the answer, but I couldn't figure out how to use it)

FUT = php.soap = new Geek("porneL");

Site Timeline