Mantis - Resin
Viewing Issue Advanced Details
1946 minor always 08-15-07 14:18 11-01-07 11:11
ferg  
ferg  
normal  
closed 3.1.2  
fixed  
none    
none 3.1.4  
0001946: WSDL and caching
(rep by Brian Burke)


1) Resin appears to be caching the responses to service requests
2) The generated .wsdl files are not parsable, some of the xml is missing the appropriate namespace declarations

For the first issue, when looking at the Cache tab within the resin-admin app, it is showing the service endpoint as a 'cacheable' URL, even though the response includes this http header:
Cache-control: no-cache
That screen is not showing static content (css, js, gif, etc) as cache-able though, in all cases.
Disabling the proxy cache entirely seems to fix our issue, but that is undesirable. Is there a way to disable proxy cache via resin.conf for specific URL patterns?
For the second issue, the same service, when deployed to JBoss works file.. the generated wsdl file is parse-able. I do see in the logs that the service is using caucho classes for writting the XML stream. I've attached the resulting WSDL we get from resin for this service as well.

2007-08-14 14:33:21,313 [resin-tcp-connection-*:8080-8] DEBUG org.apache.axiom.om.util.StAXUtils - XMLStreamWriter is com.caucho.xml.stream.XMLStreamWriterImpl

running resin 3.1.2
OS info: Linux elzar 2.6.9-55.EL 0000001 Wed May 2 13:52:08 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux

Notes
(0002259)
emil   
09-04-07 12:00   
Second issue split to 0001989

(0002432)
ferg   
11-01-07 11:11   
resin-admin cache.php was incorrectly reporting cacheable pages.