Soap4r and java data types

Is there any way using soap4r and wsdl2rb to use java Map. I ran wsdl2rb
and it generates fine but when I try and use the service I get the
following error.

#SOAP::Mapping::Object:0x7fe6dec4: could not find a type with qname
p (SOAP::FaultError)

The entry from the wsdl looks like this.

any suggestions