The webservice I'm using requires a xml parameter with attributes.
Like this:
Code XML:
<test>
<user group="4" type="default">Max</user>
<birthday>1-2-1980</birthday>
</test>

So far I got:
PHP Code:
$reqBody = array('test' => array(
                           
'user' => 'Max',
                           
'birthday'=>'1-2-1980'));

$result $client->getUser($reqBody); 
What will produce a soap body containing:
Code XML:
<test>
<user>Max</user>
<birthday>1-2-1980</birthday>
</test>
Only I've got no idea how to put in the attributes. Does anyone know?