So we have JAX-WS that is SOAP based and can be either RPC Style or Document Style. These are also called as Big Webservices
Also the above two have the options of using encoded or literal styles.
Then we have JAX-RS, the RESTful version of Webservices. As per my knowledge this style is used for building light web services and also webservices that don't generate dynamic data so the result can be cached. No WSDL required. This also does not support authentication(I think).
Do these styles differ in performance or speed of execution ?
I have an application that uses Webservices to access database that is behind the firewall.(Exposing data as a Service- I am using a tool called WSO2 ) The queries execute fast but the webservices take time in formatting the data in XML so my application slows down.
Will my performance improve if I use different styles of Webservices ?