m_inInterceptor = new CopiedInputStreamInterceptor(m_responseBaos);
}
private Welcome sayHello(Greetee s) throws WsException, IOException {
SoapClient client = new SoapClient(m_location, m_fact);
TransportOptions transportOptions = TransportDirectory.newTransportOptions(m_location);
if (transportOptions instanceof OutputStreamInterceptable) {
((OutputStreamInterceptable)transportOptions).setOutputStreamInterceptor(m_outInterceptor);
}
if (transportOptions instanceof InputStreamInterceptable) {
((InputStreamInterceptable)transportOptions).setInputStreamInterceptor(m_inInterceptor);