Hi there,
Does anybody know how to include attriubutes when calling a .net webservice function from php?
a normal function would go like this:
$client = new SoapClient(wsdl, array('trace' => 1, 'encoding' => 'UTF-8', 'soap_version' => SOAP_1_1));
$params = array('name' => 'myname', 'address' => 'myaddress');
$client->__soapCall('setContact', array('parameters' => $params), array(), null, $outputHeaders);
for a function like this:
<setContact xmlns="xmlns">
<name>string</address>
<address>string</address>
</setContact>
but how do i invoke a function for this:
<setContact xmlns="xmlns">
<name title="title">string</address>
<address>string</address>
</setContact>
so including the title attribute for name.
Thanks in advance. This is driving me crazy!