How to modify the encoding style of WSDL

Hello All,

I am using AWS in rails to implement web service apis.

Looking at the WSDL generated by AWS seems it is of encoding style
“RPC Encoded”.

But to consume my service i need the encoding style “literal wrapped”.
so how can i modify the encoding style generated by AWS and also the
request and response SOAP message format should also be with literal
wrapped encoding style format ??

Thanks,
Piyush.