configContext.getAxisConfiguration().addTransportOut(transportOut);
return configContext;
}
public ConfigurationContext createClientConfigurationContext() throws Exception {
ConfigurationContextFactory builder = new ConfigurationContextFactory();
ConfigurationContext configContext =
builder.buildConfigurationContext(org.apache.axis2.Constants.TESTING_REPOSITORY);
TransportInDescription transportIn =
new TransportInDescription(new QName(Constants.TRANSPORT_MAIL));
transportIn.addParameter(new ParameterImpl("transport.mail.pop3.host", "127.0.0.1"));
transportIn.addParameter(new ParameterImpl("transport.mail.pop3.user", "client@127.0.0.1"));