OK, looking at the soucre code, it looks like I should extend SOAPHTTPConnection, and override send() using an extended version of HTTPUtils in which I implement postCompressed().

I already extend SOAPHTTPConnection so that I can share a SOAPHTTPConnection between several generated client classes (I keep count of how many disconnect from it, and when there are none left, I send a shutdown call to the server), so it's not a big deal.

A few things though. I'm trying to use explicit imports (Isn't it bad style to import "...*"?) The latest source of SOAPHTTPConnection.send() references a Cookie class. There is no Cookie class in my SOAP which is 2.3.1. There is a Cookie class in the source archives, but it's new. Which version of SOAPHTTPConnection should I go back to? Or should I pull out the latest source of Cookie, and use that?

Is this a good approach? I want to keep my client classes simply using Call.invoke(), so the change must be invisible to that level.

Nigel

PS: Any help on the "No serializer" question I posted? I tagged it onto the tail end of Vladimir's thread. Thanks!

_____________________________________________________________________
This message has been checked for all known viruses. Virus scanning
powered by Messagelabs http://www.messagelabs.com For more information
e-mail : [EMAIL PROTECTED]




Reply via email to