membrane / soa-model

Toolkit and Java API for WSDL, WADL and XML Schema.
http://www.membrane-soa.org/soa-model/
Apache License 2.0
94 stars 73 forks source link

getAsString in Definitions namespace #259

Open arykov opened 7 years ago

arykov commented 7 years ago

If wsdl is loaded from a file, modified and then exported using getAsString() it gets generated in default namespace. If the original wsdl was defined with a namespace prefix and default namespace was not defined or was defined as something other than http://schemas.xmlsoap.org/wsdl/, wsdl produced using getAsString will be invalid due to incorrect namespace.

See attached test case NamespaceTest.txt