You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to membrane-monitor
I am running a Hotel Website that makes XML calls to different Soap
XML providers.
When a client makes a search it sends a SOAP XML request to the
suppliers then the response is sent back through to the client.
Which Example in the examples folder list would be best matched for
better performance and XML Soap Caching.
I just need the responses to be cached for example if one client does
a search between 1 March 2012 and 5 March 2012 I need that
response to be cached and saved for the next client who makes the same
search.
Any suggestions ?
Thanks
Peter
Thomas Bayer
unread,
Jan 27, 2012, 5:14:01 PM1/27/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to membrane-monitor
Hi Peter,
I'am sorry there is no example showing how to cache requests. We have
thought about writing a caching interceptor, but nor done yet because
it is tricky to cache API call. You can get back stale data and what
would you use to check if two requests are the same? A hash of the
SOAP envelope? That would not be working because the second client
might use a different namespace prefix. If you what to cache based on
the serialized content you have to restore that and that is a bit more
complicating.
And I don't know if the HTTP caching mechanism with etags can be
applied to SOAP. I should have a look at this.
How long does a search take? Do you really get a big gain by caching?