Zend_Soap_Client - request XML attributes

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Zend_Soap_Client - request XML attributes

Adrian Marte
Hello all,

i have a problem in creating a SOAP request with xml attributes
like so:

<element *attr="attr_value"*>value</element>

i could not figure out, how to add the "attr" attribute.
at the moment i make the request like so:

$result = $client->$functionName(1,0,$params);

where params is an stdObj: $obj->element = 'value'
How can i add an attribute to this element?

Thanks in advance for your help!

Greets,
Adrian