Example #1
0
		<br/><br/>
	
		Example call on <b>ExampleService</b>:<br/><br/>
	
		<b>AddNumbers(15, 22):</b>
		<blockquote><div><?php 
_p($objClient->AddNumbers(15, 22));
?>
</div></blockquote>
		
		<b>GetDate(12, 25, 2007):</b>
		<blockquote><div>
			<?php 
_p($objClient->GetDate(12, 25, 2007));
?>
			<br/>(notice how the resulting QDateTime has been converted to a SOAP-compliant dateTime)
		</div></blockquote>

		<b>GetPeople('Smith'):</b>
		<ul>
<?php 
$objPeople = $objClient->GetPeople('Smith');
foreach ($objPeople as $objPerson) {
    printf('<li>%s %s</li>', $objPerson->FirstName, $objPerson->LastName);
}
?>
		</ul>
	</div>

<?php 
require __INCLUDES__ . '/examples/footer.inc.php';