Q

Handling compressed SOAP requests

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 http://e-docs.bea.com/wls/docs81/webserv/interceptors.html.
This was first published in December 2003

Dig deeper on Simple Object Access Protocol (SOAP)

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchSoftwareQuality

SearchCloudApplications

SearchAWS

TheServerSide

SearchWinDevelopment

Close