getServices().get(serviceName);
if (service != null) {
try {
response.addHeader(CONTENT_TYPE, TEXT_XML);
serverHandler.commitResponse(conn, response);
service.printWSDL2(os, getIpAddress());
} catch (AxisFault e) {
handleException("Axis2 fault writing ?wsdl2 output", e);
return;
} catch (SocketException e) {
handleException("Error getting ip address for ?wsdl2 output", e);