Hi all,
I am using a Socket Client to POST a request to a WebService which uses
Apache's SOAP Engine..

The Socket makes a request and get Results back..
but at the end (after getting Data from the Socket) it waits indefinetly
before it relinquishes..
The snippet of what I use is :

        InputStream in = s.getInputStream();
        InputStreamReader isr = new InputStreamReader(in);

        BufferedReader br = new BufferedReader(isr);
        int c;
        System.out.println("Waiting for results");
            while ((c = br.read()) != -1) {
           System.out.print((char) c);
         }

Is it because the Data is not being FLUSHED (into teh ServletOutPutStream)
from the SOAP Servlet ?
Is it a bug , if so has it been fixed in any of the recent builds ?
Or if its not then Can I make that change ?




Reply via email to