I'm working on a project where I need to pass parameters to a .NET web service. Below is what the .NET SOAP request structure looks like.
<soap:Body>
<ListRequest xmlns="My.API.1.0">
<ID>guid</ID>
<Parameters>
<Values xmlns="api.test">
<fv ID="string">
<Value />
<ValueTranslation>string</ValueTranslation>
</fv>
<fv ID="string">
<Value />
<ValueTranslation>string</ValueTranslation>
</fv>
</Values>
</Parameters>
</ListRequest>
</soap:Body>
Below is part of the PHP code.
$params=array('ID'=> $listID,
'Parameters' =>
array(
array('ID' => 'ROOM', 'ValueTranslation' => '99999')));
$result=$soapClient->ListRequest($params);
Whenever I make the call without the parameter the request works and gets the results back to the php page. But when I introduce the parameters, I get "the function GETLIST expects parameter 'ROOM', which was not supplied" error. I've a feeling the the issue is the way I'm mapping the Parameter structure but I can't figure out how to map the SOAP xml above to a php code.
Thank you all for your help!