I need to handle a compressed SOAP request (i.e., body of HTTP message is gzip compressed) and return a compressed SOAP response in a Web service (i.e. body of HTTP response must be gzip compressed) running under WLS 8.1. I suspect the "right" way to do this is with a servlet filter, but I'll be darned if I can figure out how to implement a servlet filter with a Web service. In an answer to a question posed on 16-June-2003, you state, "I suspect that you'd like to implement your intermediary as a servlet filter. You must intercept the call between the point that the servlet engine receives the HTTP call and before it routes it to the SOAP message handler. Once your servlet filter has finished processing the header, the servlet engine will route the call to the SOAP message handler." My question is: how do you do this, specifically using WLS? Thank you very much for any insight you can provide!
You want to implement a JAX-RPC Handler (a SOAP interceptor) rather than a servlet filter. See
Dig deeper on Simple Object Access Protocol (SOAP)
Anne Thomas Manes explains the differences between open source clients and open source implementations.continue reading
Anne Thomas Manes discusses the best way to go about creating an enterprise data dictionary and why the systems works well.continue reading
Anne Thomas Manes explains the difference between 'hard' real time and 'live' real time systems.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.