Updated definition of ComplexType and use classmap option of SoapServer
Please to refer to the documentation for the changes: http://besim.pl/SoapBundle/tutorial/complex_type.html
This commit is contained in:
@ -99,7 +99,12 @@ class WebServiceContext
|
||||
public function getServerFactory()
|
||||
{
|
||||
if (null === $this->serverFactory) {
|
||||
$this->serverFactory = new SoapServerFactory($this->getWsdlFile(), array(), $this->converterRepository, $this->options['debug']);
|
||||
$this->serverFactory = new SoapServerFactory(
|
||||
$this->getWsdlFile(),
|
||||
$this->serviceDefinition->getDefinitionComplexTypes(),
|
||||
$this->converterRepository,
|
||||
$this->options['debug']
|
||||
);
|
||||
}
|
||||
|
||||
return $this->serverFactory;
|
||||
|
Reference in New Issue
Block a user