Forum Discussion
Richard_Garcia
12 years agoOccasional Contributor
This seems a regression in SoapUI 4.6.4 compared to 4.6.3.
This change (Remove property expansions on WSDL and WADL import) has caused the issue
https://github.com/SmartBear/soapui/com ... caa7e6b4a6
Previous code
return XmlUtils.createXmlObject( load( url ), options );
New code
String content = readCleanWsdlFrom( url );
return XmlUtils.createXmlObject( new ByteArrayInputStream( content.getBytes() ), options );
// unnecessary byte[] conversion, XmlUtils has method with string input
readCleanWsdlFrom
Tools.readAll( load( url ), 0 ).toString(); // --> does not respect the encoding of the file
This change (Remove property expansions on WSDL and WADL import) has caused the issue
https://github.com/SmartBear/soapui/com ... caa7e6b4a6
Previous code
return XmlUtils.createXmlObject( load( url ), options );
New code
String content = readCleanWsdlFrom( url );
return XmlUtils.createXmlObject( new ByteArrayInputStream( content.getBytes() ), options );
// unnecessary byte[] conversion, XmlUtils has method with string input
readCleanWsdlFrom
Tools.readAll( load( url ), 0 ).toString(); // --> does not respect the encoding of the file