Here is a quick and dirty example of using their webservice. Maybe someone can use this in the future to use Kansas's webservice to lookup and computer sales tax on. It was my understanding that other states would have webservices in the future and they were all to have basically the same calls.
PHP Code:
<?php
$wsdl = "sstp.wsdl";
$client = new SoapClient($wsdl);
// var_dump($client->__getFunctions());
// var_dump($client->__gettypes());
$ReturnData = $client->GetFIPSBy5ZipOnly(66612,"2008-01-28");
//var_dump($ReturnData);
//echo $ReturnData->strReturnShortDesc;
//echo $ReturnData->strConfirmationNum;
//foreach ($ReturnData->FIPSRecordList as &$FipsRecord) {
// echo $FipsRecord->strGeneralTaxRateIntrastate;
//}
?>
<!DOCTYPE html PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML>
<HEAD>
<TITLE>
A Small Hello
</TITLE>
</HEAD>
<BODY>
<H1>Streamlined Sales Example</H1><br />
<br />
Return Code: <?php echo $ReturnData->intReturnCode ?><br />
Return Short Description: <?php echo $ReturnData->strReturnShortDesc ?><br />
Confirmation Number: <?php echo $ReturnData->strConfirmationNum ?><br />
Time Stamp: <?php echo $ReturnData->strEventTimeStamp ?><br />
<table width="700px">
<thead>
<tr>
<td>State</td>
<td>Juris Type</td>
<td>CompositeSER</td>
<td>FIPS Code</td>
<td>General Intrastate Rate</td>
<td>General Interstate Rate</td>
<td>Food/Drug Intrastate Rate</td>
<td>Food/Drug Interstate Rate</td>
</tr>
</thead>
<?php foreach ($ReturnData->FIPSRecordList as &$FipsRecord) { ?>
<tr>
<td><?php echo $FipsRecord->intState ?></td>
<td><?php echo $FipsRecord->strJurisdictionType ?></td>
<td><?php echo $FipsRecord->strCompositeSER ?></td>
<td><?php echo $FipsRecord->intJurisdictionFIPS ?></td>
<td><?php echo $FipsRecord->strGeneralTaxRateIntrastate ?></td>
<td><?php echo $FipsRecord->strGeneralTaxRateInterstate ?></td>
<td><?php echo $FipsRecord->strFoodDrugTaxRateIntrastate ?></td>
<td><?php echo $FipsRecord->strFoodDrugTaxRateInterstate ?></td>
</tr>
<?php } ?>
</table>