added TypeRepository managing all mappings from php to xml types; removed classmap generation from SoapServerFactory, this will be done by TypeRepository::createComplexTypeMap(...);

Conflicts:

	Resources/config/webservice.xml
	Soap/SoapServerFactory.php
	Util/QName.php
	WebServiceContext.php
This commit is contained in:
Christian Kerl
2011-07-17 15:08:46 +02:00
committed by Francis Besset
parent 5da442b716
commit 76e7f42ccb
7 changed files with 170 additions and 57 deletions

View File

@ -109,4 +109,22 @@ class ServiceDefinition
{
$this->headers->addAll($headers);
}
/**
* @return array
*/
public function getAllTypes()
{
$types = array();
foreach($this->methods as $method) {
foreach($method->getArguments() as $argument) {
$types[] = $argument->getType();
}
$types[] = $method->getReturn();
}
return $types;
}
}