try {
String url = msgContext.getStrProp(MessageContext.TRANS_URL);
String wsdlString = wsdlStart + url + wsdlEnd;
Document doc = XMLUtils.newDocument(new ByteArrayInputStream(wsdlString.getBytes("UTF-8")));
msgContext.setProperty("WSDL", doc);
} catch (Exception e) {
throw AxisFault.makeFault(e);
}