Anyone have any thoughts or comments to implementing xml-rpc redirects 
in the Apache XMLRPC client?

I have a jira ticket (XMLRPC-132) with proposed code changes (in an
eclipse patch file 

In this proposal, the XMLRPCStreamTransport class adds a customization
point to determine if the transport needs to redirect the request before
attempting to parse the response from the server. This uses a similar
redirect algorithm as used in the Apache Http client to processing
redirects with a Max limit to prevent a recursive loop.

The redirect logic itself is implemented in two callback methods
isRedirectRequired() and 
resetClientForRedirect()

These callback methods are only implemented in the
XmlRpcCommonsTransport which means that the other transport options
won't support redirects (unless they are subsequently modified to do
this by
implementing these inheirited 2 callback methods in their related
classes. 

-Andrew

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to