mirror of
https://github.com/AdaCore/aws.git
synced 2026-02-12 12:29:46 -08:00
First the tool ada2wsdl does not generate targetNamespace in elements inside the schema as this is not valid. When there is multiple schema used, ada2wsdl generates multiple schema one for each targetNamespace. At the same time the wsdl2aws has been fixed to support multiple schema definition. This change was needed to properly support derived types for which the base type are found in different packages. So have different targetNamespace. Some tests expected output have been changed due to the change above, the new output are better as the original namespace is kept. Add corresponding regression tests. For Q309-017 and Q301-031.
9 lines
246 B
Python
9 lines
246 B
Python
from test_support import *
|
|
|
|
exec_cmd('ada2wsdl',
|
|
['-q', '-lit', '-f', '-o', 'api-child.wsdl', 'api-child.ads'])
|
|
|
|
exec_cmd('wsdl2aws',
|
|
['-q', '-f', '-spec', 'api.child', '-cb', 'api-child.wsdl'])
|
|
build_and_run('multiple_schema')
|