Customizing generated type names with ActionWebService

I need a way I can create two different ruby struct classes (MyStructV1,
MyStructV2) and have them map to a type which is referred to in the xml
as simply ‘MyStruct’. V1 and V2 have different fields, and would be
served by different controllers.

Can this be done? I have tried valiantly to patch actionwebservice and
the underlying soap code (soap4r) to this end, but to no avail. Is there
a way to set an explicit xmlname <–> ruby class name mapping for a
particular controller/wsdl namespace?

Any hints?

Thanks,
nerdytenor