File sourceWSDL = new File(_serverDir, wsdlPath);
String baseURL = getFedoraBaseURL(requestURL);
String svcPath = (String) _SERVICE_PATHS.get(api);
RuntimeWSDL wsdl =
new RuntimeWSDL(schemaFile, sourceWSDL, baseURL + "/"
+ svcPath);
StringWriter stringWriter = new StringWriter();
PrintWriter out = new PrintWriter(stringWriter);
wsdl.serialize(out);
out.flush();
out.close();
return stringWriter.toString();