*/
private void exportService(Interface iface, Channel channel, Writer writer) throws IOException
{
MetadataServiceConverter converter = new MetadataServiceConverter();
WSDLServiceExporter exporter = new WSDLServiceExporter();
SOAPService service = (iface == null) ? converter.export(channel) : converter.export(iface, channel);
exporter.setInvocationContext(m_context);
exporter.exportService(service, writer);
}