Closed victorgp89 closed 7 years ago
And when print: $metadata = $this->serializer->getMetadataFactory()->getMetadataForClass('Igm\SoapServices\Test\SoapEnvelope\Messages\GetSimpleInput');
Is correct the return: [reflection] => ReflectionClass Object ( [name] => Igm\SoapServices\Test\SoapEnvelope\Messages\GetSimpleInput )
just out of curiosity, can you put absolute paths everywhere on your config.yml and retry?
That's the problem, If I put the absolute path in the config.yml don't work. But if I hardcored the path like:
$dir = '/var/www/synergy-generator/metadata/Test'; Yes, that's work
if it works with absolute paths, means that thee library works and means that you have to figure out which paths are wrong... I mean, it depends from where is executed your applications/script, which is the working directory and so on...
I move this my issue in soap-server because the same happens to me.
My serializer have the metadatasDir:
My Yml is this:
But I still have the same error:
You must define a type for Igm\SoapServices\Test\SoapEnvelope\Messages\GetSimpleInput::$body.