' . $this->serviceName . '
View the WSDL for the service.
Click on an operation name to view it's details.
';
foreach ($this->getOperations() as $op => $data) {
$b .= "- $op
";
// create hidden div
$b .= "
Close";
foreach ($data as $donnie => $marie) { // loop through opdata
if ($donnie == 'input' || $donnie == 'output') { // show input/output data
$b .= "
" . ucfirst($donnie) . ':';
foreach ($marie as $captain => $tenille) { // loop through data
if ($captain == 'parts') { // loop thru parts
$b .= " $captain:
";
//if(is_array($tenille)){
foreach ($tenille as $joanie => $chachi) {
$b .= " $joanie: $chachi
";
}
//}
} else {
$b .= " $captain: $tenille
";
}
}
} else {
$b .= "
" . ucfirst($donnie) . ": $marie
";
}
}
$b .= '
';
}
$b .= '
';
return $b;
}
/**
* serialize the parsed wsdl
*
* @param mixed $debug whether to put debug=1 in endpoint URL
* @return string serialization of WSDL
* @access public
*/
function serialize($debug = 0)
{
$xml = 'soap_defencoding . '"?>';
$xml .= "\n