Hi ,

 

In one of my project  we are migrating Apache http client libraries from  3.x 
to 4.4.1 version . 

 

Overview of my application :  This particular application(say XX) is a proxy. 
To access any of the client application(YY) it should go via proxy 
(configuration are in place).

 

Proxy application reads the http request generated by the container  and 
creates a new request to client application(YY) using Apache httpclient , after 
security validation it sets necessary details in the new request build and 
parses the http client response and sends it back to browser..

 

After migration, we are able to handle request with form data and multipart. 

 

Problem : For certain type of request, we read the request stream(from browser) 
and set it in apache httpclient request. 

 

For flex AMF request (request content type - "application/x-amf")  we read the 
stream from request and setting it in HTTP Post request as an 
InputStreamEntity. This particular request is in complete when it reaches the 
client application.

 

When the Flex application tries to deserialize the stream send in the request , 
its failing to read the data. The same was working fine for 
commons-httpclient3.3.

 

Application Server : Websphere 8 

 

Please help me out how I can pass this particular type request to client 
application using httpclient 4.4.1.

 

 

 

 

Thanks & Regards,

Bhuvaneswari

 

Reply via email to