How to turn off HTTP chunking in Apache Axis2?

Apache Axis2 by default allow HTTP content to be chunked. This causes the SOAP request to be broken up into chunks and caused our webservice to return last cached results disregarding symbol, username...etc. So a request of IDX could return results for RUT. Following is some sample code that shows how to turn off HTTP chunking before calling our web services: XigniteRealTimeStub stub = new XigniteRealTimeStub("http://www.xignite.com/xRealTime.asmx"); // Begin - code to turn off HTTP chunking Options options = stub.

_getServiceClient().getOptions(); options. SetProperty(org.apache. Axis2.transport.http.HTTPConstants.

CHUNKED, Boolean. FALSE); stub. _getServiceClient().

SetOptions( options ); // End - code to turn off HTTP chunking GetRealQuote quote = new GetRealQuote(); quote. SetExchange(ECNTypes. INET); quote.

SetSymbol(symbol); Header3 header = new Header3(); Header h = new Header(); h. SetUsername("yourusername"); h. SetPassword("yourpassword"); // Note: if you set the tracer with a ... more.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions