Rewrite large attachment testcase
---------------------------------
Key: JBWS-2400
URL:
https://jira.jboss.org/jira/browse/JBWS-2400
Project: JBoss Web Services
Issue Type: Task
Security Level: Public (Everyone can see)
Components: jbossws-metro
Reporter: Alessio Soldano
The JBWS2000 testcase lives in framework but currently fails with JBossWS-Metro because of
a java.lang.OutOfMemoryError on client side. This can be prevented enabling the chunked
transfer which seems to be off by default with Metro:
((BindingProvider)port).getRequestContext().put("com.sun.xml.ws.transport.http.client.streaming.chunk.size",
8192);
Unfortunately we still get a OOME on server side so, more generally, we should split this
test and rewrite the Metro one using the available feature for large attachments
(StreamingAttachment). See
https://metro.dev.java.net/guide/Large_Attachments.html .
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira