Hi, Arjen, I noticed that Spring WS 2.0 will have support for streaming web services (StreamingPayload and StreamingWebServiceMessage). Will this support the streaming of MTOM responses as well?
Type: Posts; User: hoffmandirt; Keyword(s):
Hi, Arjen, I noticed that Spring WS 2.0 will have support for streaming web services (StreamingPayload and StreamingWebServiceMessage). Will this support the streaming of MTOM responses as well?
Is it possible to get data from a WebServiceTemplate as it is being received? For my particular use case, I am using MTOM to download attachments. I would like to start transferring the data to the...
The content disposition header is incorrect in the example. It should be:
response.setHeader("Content-Disposition", "attachment; filename=\""+ document.fileName + "\"");
Did you resolve this issue? I am getting the same error.
Did you resolve this issue? I am getting the same error.
Did you resolve this issue? I am getting the same error.
Sander, how large of a file were you able to download from the server to the client?
Currently I'm using the AbstractMarshallingPayloadEndpoint to handle my MTOM web service. I would like to get away from the marshalling endpoint and use something like the MessageEndpoint interface...
I thought this too until I realized that log4j was using half of that 10x. I set the MessageTracing logger to ERROR that got it to about 5x. After increasing my eden space, I decreased it to about...
The problem is that the file is stored in memory. I can successfully receive a 300mb file on the client side by configuring the JVM and disabling logging:
1. Set the MessageTracing logger log...
My goal is to send large files from the server to the client using MTOM. I have MTOM set up and it works great for small files around 50mb. When I try to send a 100mb file to the client, I get an out...
I am experiencing the same problem with Spring WS 1.5.8. I am trying to send a 1.13 GB file back to the client using the saaj message factory and MTOM. I have 8GB of memory on my server and I tried...
Switching to Spring Web Services 1.5.8 solved this issue. I'm not sure why though.
I am trying to use the spring web services namespace and the marshalling-endpoint in my servlet file. I keep getting XSD errors or some kind. I'm suspecting that I'm using the wrong version of a jar...
I implemented a MessageEndpoint class and I am having a hard time getting data out of the MessageContext request object. Are there any examples of parsing the request and building a response using...
I'm using the PayloadRootQNameEndpointMapping to map my web services to endpoints on the server. So in the example above, the root element of my XML request, which is searchRequest, will be parsed...
Here is a sample command line client:
application-context.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" ...
I was reading through the tutorial and noticed that there are two message factories: The SaajSoapMessageFactory and the AxiomSoapMessageFactory. From the log files it appears that the...
The MTOM sample works great, but I would also like to try an SWA example. Are there any tutorials on configuring Spring-WS for SWA? I saw that the SaajSoapMessageFactory is mentioned in the tutorial,...
There is a sample of MTOM that comes packaged with the Spring Web Services download. I am learning how to do this myself and the MTOM example was very helpful(although I couldn't get it to build with...
This approach does not work. The webapp root key works great in my log4j properties file, but when I inject it into an object, the object gets ${app.root}. I'm using the...
I also would like to inject webAppRootKey into my application. Is this possible? Is there a better way in Spring to get the application's root path?
I verified that this is a FireBug (version 1.4a20) issue and opened up a bug tracker for it. Basically, when a request performs a server side redirect, and the content type is set on both the request...
I am getting a duplicate response whenever a user logs in successfully or incorrectly. I have checked the response in my login controller and it is not duplicated there. I am assuming A) It's...
Thank you very much for your help. The ojdbc jar file that I was using in my project was not the same that was being loaded during runtime. The ojdbc jar file that comes with OC4J was being loaded....