Your servlet filter (javax.servlet.Filter) has access to the
HttpServletRequest, which contains the necessary information about the
source of the request.

The code of your filter's doFilter method would look at the URL (and
invoke the rest of the filter chain unless it had the parameter ?wsdl).
 Then it could look at the source IP address from the headers.  When it
invokes the rest of the filter chain (the Axis servlet) and gets back
the response, based on the source IP it can either transform the result
or not.  To transform the source, it can use a filter stream that does a
regex replacement as the response is sent, or an XSLT.

Jeff

On 4/17/2014 10:18 AM, Andrea Cappelli wrote:
> Il 17/04/2014 18:05, Jeff Greif ha scritto:
>> This is a speculation, not a definitive answer.  The ?wsdl URL is
>> handled by the Axis servlet, so if no other way was found, you could
>> introduce a servlet filter that used an XSLT, or some other technique
>> to transform whatever normally comes out of the ?wsdl URL.
>>
> 
> Uhm,
> can you give more info on this matter?
> 
> I can perform the trasformation reading an http header? Can you point me
> to some documentation?
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org

Reply via email to