As we know RPC style use soap encoding (Java <-> XML <-> Java) where as Dcoument style use literal encoding.
1.Can somene please explain me what's the difference between two
2. How does Dcoument style web service gives better performance
3. I have generated the wsdl(using axis) for both document and rpc style web service i.e. style="rpc" and style="document" in server-config.wsdd. I have noticed the difference the way it generates the soap messgae. In case of RPC, soap request message conatin operation name where as in case document style , soap request message does not contain operation name. this is the only difference I can figure it out
Does Axis do something different for document style web service i.e. in terms of serialization/deserialization, parsing etc so that document style web service do have better performance
Regards
Deepak