public void testXMLStreamReaderWrapper() throws Exception {
final Map<String, String> map = new HashMap<String, String>();
map.put("org.apache.cxf.test.wsdl11.port", "99999");
String wsdlUrl = getClass().getResource("hello_world_wrap.wsdl").toString();
WSDLManagerImpl builder = new WSDLManagerImpl();
builder.setXMLStreamReaderWrapper(new XMLStreamReaderWrapper() {
@Override
public XMLStreamReader wrap(XMLStreamReader reader) {
return new PropertiesExpandingStreamReader(reader, map);
}
});