}
if (mediaType == null) {
mediaType = CodecDirectory.TEXT_XML_MEDIA_TYPE;
}
XmlCodec codec = m_codecCache.getCodec(mediaType);
IXMLReader reader = codec.getReader(m_dimeInput, null, m_clientAddress, false);
Protocol protocol = ProtocolDirectory.getProtocol(m_sdef.getProtocolName());
ServiceFactory serviceFactory = protocol.getServiceFactory();
serv = ServicePool.getInstance(serviceFactory, m_sdef);
serv.processRequest(new TcpInConnection(m_dimeInput, reader), new TcpOutConnection(codec,
serv.getXmlOptions()));