Closed victorgp89 closed 7 years ago
Pay attention to the file path slashes and php namespace slashes. Your config file should be:
soap_client: ~
xsd2php:
namespaces:
'http://tempuri.org/': 'Igm\SoapServices\Calculator'
destinations_php:
'Igm\SoapServices\Calculator': src/Calculator
destinations_jms:
'Igm\SoapServices\Calculator': metadata/Calculator
wsdl2php:
metadata:
'http://www.dneonline.com/calculator.asmx?WSDL': ~
@victorgp89 let me know if this is solved
Yes, The problem is solved. I was guided by the example you have in https://github.com/goetas-webservices/xsd2php.
xsd2php: namespaces: 'http://www.example.org/test/': 'TestNs/MyApp'
I have this in my config.yml:
In my composer i have also this:
But when I execute the command, return this error:
php bin/soap-client.php -vvv generate config/config.yml src/Service/Container
And when I put a unique namespace it works well.