aspose file tools*
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes Can a SOAP-based design be cachable? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "Can a SOAP-based design be cachable?" Watch "Can a SOAP-based design be cachable?" New topic
Author

Can a SOAP-based design be cachable?

Himai Minh
Ranch Hand

Joined: Jul 29, 2012
Posts: 775
In MZ's notes, it says "A RESTFul design may be appropriate when a caching infrastructure can be leveraged for performance..."
So, can SOAP-based design use a caching infrastructure as well?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42289
    
  64
I think that sentence is misleading at best. While REST APIs can make use of existing HTTP caching mechanisms, that may or may not be a good reason to prefer REST over SOAP. It is unlikely to be the most important criterion when making the choice. Furthermore, HTTP-based caching is less prevalent than other forms of caching that can be used by both approaches.


Ping & DNS - my free Android networking tools app
Himai Minh
Ranch Hand

Joined: Jul 29, 2012
Posts: 775
According to this IBM site:
http://publib.boulder.ibm.com/infocenter/wsdoc400/v6r0/index.jsp?topic=/com.ibm.websphere.iseries.doc/info/ae/ae/rdyn_webservicescaching.html

Some SOAP response can be cached as long as the data in the response is still current.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can a SOAP-based design be cachable?